January 2017
Intermediate to advanced
134 pages
2h 28m
English
The key selector in CSS is the rightmost selector in any rule. It is the selector upon which the enclosed property/values are applied.
We want our CSS rules to be as flat as possible. We DO NOT want other selectors before a key selector (or any DOM element) unless we absolutely need them to override the default key selector styles.
The reason being that adding additional selectors and using element types (for example h1.yes-This_Selector):
Read now
Unlock full access