Part 3 of 6 · Chapter 3 of 5

Why Your Rule Did Not Apply

Two rules target the same element and one of them wins, by a procedure that is completely deterministic and almost never taught. Score two selectors against each other and find out why the one you wrote lost.

Intermediate13 min read

Worth reading first: Choosing What to Style


Make a free account to read on

Every chapter is free — an account is how your progress, XP, and streak follow you from your laptop to your phone, and how you show up on the leaderboard. No payment, no trial.