Cascade origin

noun

say it: “kas-KAYD OR-ih-jin” /kæˈskeɪd ˈɒrɪdʒɪn/

Where a style comes from: the browser's own default styles, the reader's browser settings, or the site's stylesheet. The cascade compares origins before anything else.

What is a cascade origin?

A cascade origin is where a style comes from: the browser's defaults, the user's settings, or the site's CSS. Origin is weighed before specificity.

/* browser default: a { color: blue; }
   your stylesheet wins:  */
a { color: teal; }

In a sentence

  • “My h1 rule beat the browser's big bold heading because of its cascade origin: a site's styles outrank the browser's defaults.”

Level: Freelancer · More CSS terms at this level

Updated