Chapter 6 - Assigning property values, Cascading, and Inheritance - 6.4.2 !important rules
Go to the relevant page of the specification.
- c31-important-000
-
important
- cascade-008
-
Shorthand properties with !important
Shorthand properties with !important apply to all direct sub-properties. - cascade-009
-
Author rules with !important and other normal author rules
Author rules with !important override normal author rules. - cascade-010 (userstyle)
-
User stylesheet rules with !important and !important author rules
User stylesheet rules with !important override !important author rules. - cascade-011 (userstyle)
-
User stylesheet rules with !important and normal user rules
User stylesheet rules with !important declarations override user stylesheet rules with normal declarations.