CSS Selectors: The Ultimate Power Tool
With great power comes great responsibility. Don't say we didn't warn you.
div > .class, div .class > .subclass { background-color: #f0c5b6; }
Selector precedence is a beautiful thing.
Combinators: The Dark Arts of Selector Combinations
When the going gets tough, the tough get combinatorical.
div > .class > .subclass, .class > .subsubclass { background-color: #333; }
Don't get caught in the selector crossfire.
Stay tuned for more Webdev Fu lessons, coming soon...