Web development · Selectors and the cascade

The cascade: when rules disagree

Real style sheets have several rules for the same element, and the browser needs a way to settle what each one ends up with.