Cascade Diagram

Additional Information

Specificity Information

User style sheets

  • A few browsers allow users to inject a style sheet that can supersede
    • Most people don't need or want to use a style sheet of their choosing, but some do
    • For such a reason one might think that the user style sheet takes precedence over other styles, but it usually does not.
    • A user's personal style sheet can supplement or take precedence over some of the styles applied by the website's CSS. In order to accomplish this, !important must be is a part of each rule.
  • Here is more information about user style sheets:

User Agent (browser default) style sheets

  • Each browser (user agent) has a style sheet that is used by default. This user agent style sheet has the least influence over what rules get applied.
  • Here is information about user agent style sheets including examples of them: