Replies: 1 comment 3 replies
-
What more elaboration would you need aside from what Adam mentions in the Twitter thread? This is the takeaway https://twitter.com/adamwathan/status/1461700281524277253?s=46&t=xWRDy9jPhMgiw7hpwUXa_w |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know, this has been discussed in the past:
https://stackoverflow.com/questions/74166688/any-way-to-group-pseudo-selectors-in-tailwind
https://twitter.com/adamwathan/status/1461519820411789314
Basically what I want is to be able to instead of this:
hover:bg-slate-200 hover:border-slate-200
do this:
hover:[bg-slate-200 border-slate-200]
or some other form of it.
Could you elaborate why this can't be done currently? Wouldn't it be possible to just use
hover:[]
as a namespace for allhover:
pseudo selector classes?It would make inline classes more readable if you could stack
pseudo selector classes
.Beta Was this translation helpful? Give feedback.
All reactions