CSS Fundamentals

Four ideas explain most CSS surprises: how a rule is written, how it reaches the page, how the browser picks one value among competing rules, and what work a change forces the browser to redo.

Subsections