Skip to main content

Cascade, Specificity and Inheritance

Learn Cascade, Specificity and Inheritance (CSS Basics, CSS) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

When rules conflict, the cascade decides the winner: origin and importance, then specificity, then source order.

More lessons in CSS Basics