You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't it be great if instead of having to write a modifier like hover: for every single hover class, we could put all hover classes in a single group, so instead of doing:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
Wouldn't it be great if instead of having to write a modifier like hover: for every single hover class, we could put all hover classes in a single group, so instead of doing:
hover:bg-gray-150 hover:text-gray-750 hover:border-gray-200
We could do something like this where we just write hover: once
hover:{bg-gray-150 text-gray-750 border-gray-200}
And then the compiler would just convert all the classes inside the block to the individual modifier:
hover:bg-gray-150 hover:text-gray-750 hover:border-gray-200
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions