Tailwind v4 – Important Modifier Style Change? #18606
weilinzung
started this conversation in
General
Replies: 1 comment 8 replies
-
The postfix
Footnotes |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks — just looking to confirm something and get your thoughts:
In Tailwind v3, we’ve always used the important modifier like this:
But in the v4 docs, it now shows:
It looks like postfix
!
is now the recommended way to apply!important
. Is this the new standard going forward?Questions:
bg-red-500!
now preferred over!bg-red-500
?Beta Was this translation helpful? Give feedback.
All reactions