tailwindcss-pseudo-elements
tailwindcss-pseudo-elements copied to clipboard
How to add and use pseudo-classes like `-webkit-slider-runnable-track`?
The customPseudoElements config property accepts an array of strings. How to use pseudo-elements like -webkit-slider-runnable-track?
Will it be just literally <div class="-webkit-slider-runnable-track:h-1.5">?
Would be good to have aliases for pseudo-classes, as implemented in a similar plugin: https://github.com/Log1x/tailwindcss-pseudo.
Yes, as well as the built-in pseudo-elements.
Certainly. It's not a problem, so I'd like to implement it in the next major version.