!important Property

Test of Filter

This text will be green if the rule has been applied.

Code Syntax

#testElement {
   color: #00cc00 !important;
   color: #cc0000;

Browser Support / Behaviour

Applied By

Not Applied By


Special Notes

This filter doesn't hide the declaration from non-compliant browsers like most filters. Instead, non-compliant browsers don't give a higher precidence to the associated declaration like they should and later declarations will over-ride the !important one.

More information