Replies: 3 comments
-
Here's a response to a similar suggestion:
|
Beta Was this translation helpful? Give feedback.
-
This is something WindiCSS has already been implemented. |
Beta Was this translation helpful? Give feedback.
-
Using utilities to style elements on hover, focus, and more. Every utility class in Tailwind can be applied conditionally by adding a modifier to the beginning of the class name that describes the condition you want to target. |
Beta Was this translation helpful? Give feedback.
-
First of all, I like to thank the Tailwindcss team for giving us such a nice way of writing CSS without visually writing it.
I found pseudo classes need to be written multiple times for adding multiple classes with it.
For example:
before:absolute before:w-full before:h-full
Don't know whether it's possible to implement but my guess is that the following writing style might be convenient and could occupy less space in DOM.
like
Beta Was this translation helpful? Give feedback.
All reactions