Skip to content
Discussion options

You must be logged in to vote

It's not the sibling combinator that is the problem. Rather, it is that stacked variants in v4 is applied in the opposite order to v3. So instead of hover:[&_.rating-button]:, you'd want [&_.rating-button]:hover:.

See https://play.tailwindcss.com/gFUDUHyKmu

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MonaAghili
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants