{!important:} - CSS !important Property Reference - CSS :: webDev

{!important;}">Assigning Property Values, Cascading, And Inheritance - W3C">{!important;}

CSS attempts to create a balance of power between author and user style sheets. By default, rules in an author's style sheet override those in a user's style sheet.

However, for balance, an {!important;} declaration (the delimiter token "!" and keyword "important" follow the declaration) takes precedence over a normal declaration. Both author and user style sheets may contain {!important;} declarations, and user {!important;} rules override author {!important;} rules. This CSS feature improves accessibility of documents by giving users with special requirements (large fonts, color combinations, etc.) control over presentation.

Declaring a shorthand property (e.g., {background:}) to be {!important;} is equivalent to declaring all of its sub-properties to be {!important;}.