Replies: 1 comment 1 reply
-
https://tailwindcss.com/docs/configuring-variants |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a case where I want to style all the adjacent sibling of a tag, except the first one for every adjacent group.
With pure CSS the adjacent siblings selector
+
or:last-of-type
,:first-of-type
can be utilised to facilitate this use case, like:I know that a plugin for these can be added.
I have seen such needs fairly often and would favour an official plugin for such advanced selections.
Beta Was this translation helpful? Give feedback.
All reactions