Feature request: child and direct child variants #8108
PositiveUser
started this conversation in
General
Replies: 1 comment 3 replies
-
I would love to see this build in tailwind! I suggest to change your code a little bit, so that it affects only the first direct child: |
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
-
Check this Tailwind Play
This allows me to not use the same classes for each child and change classes just once for every child.
Beta Was this translation helpful? Give feedback.
All reactions