How to make all the classes important by default #17994
Answered
by
wongjn
himanshu634
asked this question in
Help
-
Hi, I'm currently migrating my project from Tailwind CSS v3 to v4. In v3, I was using the Is there a recommended workaround to achieve the same effect in Tailwind CSS v4? Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
May 13, 2025
Replies: 1 comment 3 replies
-
You can add the @import "tailwindcss" important; |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
himanshu634
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add the
important
tag to the Tailwind import: