nth-child(n) Selector Plugin #2973
mohammed-ijas
started this conversation in
General
Replies: 2 comments
-
One way to do this is by adding custom component to tailwindcss.
But it would be much easier with nth-child selector. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey! 👋 You could use the Hope it helps! |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
Is there a feature to add nth-child() selector like first child in plugins. Like here
Usage:
Suppose I have a ul with so many li s. I need to change color on hover of li s, without writing hover:color.colr into all li s.
In CSS we can do it by
OR
Beta Was this translation helpful? Give feedback.
All reactions