2

Steven Pemberton on Twitter: "CSS co-designer here. !important was added f...

 2 years ago
source link: https://twitter.com/stevenpemberton/status/1505839184287870981
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Steven Pemberton on Twitter: "CSS co-designer here. !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."
Don’t miss what’s happening
People on Twitter are the first to know.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK