Replies: 2 comments 2 replies
-
i faced another problem:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
and also how can use existing variant in |
Beta Was this translation helpful? Give feedback.
2 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.
-
I like to use custom variants fairly liberally for combining hover and focus-visible states, as well as other things. In Tailwind3, custom variants would have precedence over default ones, but you could redefine the default ones as custom ones to give them higher precedence if you wanted to (which I did for
active:
, as I want it to supercede myhocus:
variants. I tried doing the same in tailwind 4 like below, but it doesn't seem to work the same. Is there any way for me to say that I wantactive:
to have a higher precedence thanhocus:
?Beta Was this translation helpful? Give feedback.
All reactions