Replies: 3 comments
-
Hey @fox000 👋 Cannot really tell if this is something that will land in Tailwind core, but you can add these Here's a quick example that would let you change the color of 1. Add a
|
Beta Was this translation helpful? Give feedback.
-
I took the great example by @simonswiss and put it in a playground for easier reference. I also updated it to use the extend variants feature of 2.0. |
Beta Was this translation helpful? Give feedback.
-
Not all pseudo-class variants are enabled for all utilities by default due to file-size considerations MyAARPMedicare |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It will be nice to add
first-of-type
pseudo-class to Tailwind CSS which will allow to apply different classes to first element of specific type as described here: https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-typeBeta Was this translation helpful? Give feedback.
All reactions