Replies: 4 comments
-
Meh, we just hadn't (finished) configured well our new tailwind. Sorry for the bother. |
Beta Was this translation helpful? Give feedback.
-
I'm transitioning established project to TW, I need to do this with preflight turned off. So many times I need to disable styles on parts of project. This is where unset is really helpful |
Beta Was this translation helpful? Give feedback.
-
This also comes useful when working with TailwindCSS-based component libraries, that do what you want, but have so many styles, that clearing them one by one is just tedious. |
Beta Was this translation helpful? Give feedback.
-
Still asking for this utility. I'd use it often. |
Beta Was this translation helpful? Give feedback.
-
Currently, there is no
all-unset
class in Tailwind, and to be able to use the CSS property, we need to use the[all:unset]
class, which results in a higher up priority (it is created afterwards and has the classic 10pts priority for classes, thus resetting all other 10pts classes, thus nulling the good effects because of all the bad that comes of resetting the style you are trying to add...What do you think? It is not "game changer", but it is a nice softie, imho.
Beta Was this translation helpful? Give feedback.
All reactions