Source: sebastiandedeyne.com

Why we use `!important` with Tailwind
Tl;dr: We use !important because it solves annoying specificity issues. If you want to learn more about how we came to that conclusion and how CSS specificity works, read on!

It is inelegant and heavy-handed, and contains utility and helper classes, hacks and overrides.

This is different when you want to override a component with utilities.

With this modifier, we’d be able to keep !important out of our codebase and call upon it when needed.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners