Skip to content
Discussion options

You must be logged in to vote

Good ol' CSS specificity 🙂
Worth noting, another way is to make it more specific with the > selector like you have in the linked demo at the moment above:

"[data-state=open] > &": { transform: "rotate(180deg)" }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GiuseppeIII
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