The !only reason CSS's !important rule exists ↦
CSS co-designer Steven Pemberton, on Twitter:
!important was added for one reason only: laws in the US that require certain text to be in a given font-size. !important stops the cascade from changing it.
Anything else is probably misuse, and a sign you may not understand the cascade properly.
Sign in or Join to comment or subscribe