tailwindcss-pseudo-elements icon indicating copy to clipboard operation
tailwindcss-pseudo-elements copied to clipboard

How to add and use pseudo-classes like `-webkit-slider-runnable-track`?

Open northern-mindset opened this issue 5 years ago • 1 comments

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.

northern-mindset avatar Mar 29 '21 14:03 northern-mindset

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.

croutonn avatar Apr 05 '21 13:04 croutonn