Which browsers support the CSS !important directive, and what are the various quirks amongst the different browsers that do support it?
Recommended browsersGoogle Chrome (latest version) — Windows, Mac OS X, iOS, Android. Apple Safari (latest version) — Mac OS X, iOS. Microsoft Internet Explorer 11+ — Windows. Microsoft Edge (latest version) — Windows.
CSS all property is Fully Supported on Safari 15, which means that any user who'd be accessing your page through Safari 15 can see it perfectly.
Excellent browser support.
It was part of the CSS1 spec and has been around forever, and was always easy enough to implement that browsers appear to have gotten it right on the first try.
At the very least (from personal experience) IE5.5+, Firefox 1+, Safari 3+, Chrome 1+.
Pretty much supported by every browser that supports CSS (which is every browser you care about).
According to Wiki, IE7, FireFox 1.0, Safari 1.0, Opera 7, and Chrome fully support !important. IE6 supports it, but it does have a bug. If you do this, color will be red:
h1 { color: green !important; color: red; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With