Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

cascade

the ordered process that decides which CSS declaration wins when several apply to one element.

A little more detail

For each property, the browser considers origin and importance, then specificity, then source order. The user-agent stylesheet supplies defaults such as heading margins. A later author rule does not win if an earlier rule is more specific. In DevTools, the losing declarations are crossed out.

See it in practice

These lessons pair the idea with examples you can change and run.