Not Variants
Class | Properties |
---|---|
not-first | &:not(:first-child) |
not-last | &:not(:last-child) |
not-first-of-type | &:not(:first-of-type) |
not-last-of-type | &:not(:last-of-type) |
not-[<value>] | &:not(<value>) |
IMPORTANT
In order to use this feature, your Tailwind version must support the matchVariant
feature. You're safe if using v3.2.1
or above (I'm not sure about the older versions).