CSS & Frontend

Cascade

/kæˈskeɪd/

Definition

The algorithm that determines which CSS rules apply when multiple conflicting declarations target the same element.

Example in context

"Origin, specificity, then order — if two rules tie on specificity, the last one in the stylesheet wins."

Related terms

Practice this term

Master Cascade in context by working through exercises in the CSS & Frontend module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.