Style sheets priority order

CSS declarations are applied in this order (from lowest to highest priority):

  1. user agent declarations (the default styles your browser applies to elements)
  2. user normal declarations (a user's own stylesheet if they're using one)
  3. author normal declarations (this is your normal stylesheet)
  4. author important declarations (anything your mark important)
  5. user important declarations (any important styles from the user's stylesheet)

The correct order of precedence is, from least important to most important:

  1. User Agent
  2. User Normal
  3. Author Normal
  4. Author Important
  5. User Important

As defined in the specification

Tags:

Css

Stylesheet