dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Use efficient CSS selectors

  1. #1
    Join Date
    Mar 2012
    Posts
    3

    Use efficient CSS selectors

    In this test I get a recommendation to Use efficient CSS selectors.
    Does this mean that Ihave done errors in css? Any advice? Thank you!

  2. #2
    Join Date
    Mar 2012
    Posts
    48
    what is the parameter for a good CSS?
    i dont think you should pay attention to it..

    Facebook got F on their CSS efficiency, guess because they are using complex css code, but it dosent says its not good they are just using it for better ui

  3. #3
    Join Date
    Aug 2010
    Location
    San Diego
    Posts
    242
    It's not reporting errors just inefficiencies. It's suggesting your CSS is more complicated than it needs to be. I'd recommend examining the suggestions, especially those listed as "very inefficient". There's nothing technically wrong with 2 or 3 descendant selectors (form table .item-list ul) but it makes things hard to maintain and modify, and if there are lots of them it will slow things down and can really be a problem in large projects. If you strive and learn to keep things simpler, minimal and terse you'll be better off, a better coder.
    Last edited by handcraftedweb; 05-08-2012 at 12:58 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles