Plurrrr

Mon 21 Mar 2022

CSS !important

!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.

Source: a Tweet by CSS co-designer Steven Pemberton.