Use efficient CSS selectors
-
I get a score of F from gtmetrix
Here’s a few examples of many:
Very inefficient rules (good to fix on any page):
.header_right span.searchfor small – Tag key with 2 descendant selectors and Class overly qualified with tag
#menu-main ul.sub-menu li ul – Tag key with 3 descendant selectors and Class overly qualified with tag
.post-navigation a em – Tag key with 2 descendant selectors
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Use efficient CSS selectors’ is closed to new replies.