cascade origin
Where a CSS declaration comes from: the browser's own defaults, the user's settings, or the page author, which the cascade ranks first.
In more detail
Normally author styles beat user styles, which beat browser defaults. For !important declarations the order flips, so a user's important accessibility settings can override the author.
Related terms
- CSS cascade — The CSS process that decides which of several competing rules sets a property on an element.
- user-agent stylesheet — The browser's built-in stylesheet that gives HTML its default look, such as bold headings and blue links.
- !important — A flag added to a CSS declaration that moves it into a higher-priority group of the cascade, above all normal declarations.
Taught in
- The Cascade Algorithm: Specificity, Inheritance And Source Order — Frontend Architecture & Web Platform