Back to the Catalog
css
frontend

CSS Cascade, Specificity & Inheritance

12 questions

Read CSS conflicts the way the engine does: specificity by column, why @layer order outranks specificity (and how !important reverses it), unlayered-beats-layered, inherited vs. initial/revert/unset, and :where()'s zero specificity. Answers follow the CSS Cascade and Selectors specifications.