Replies: 3 comments 5 replies
-
If I recall correctly, space and comma are invalid characters in the spec. |
Beta Was this translation helpful? Give feedback.
-
I'd really like this but my prefered style would be <input type="file" class="file(mr-6 px-4 py-2) />
Without putting too much thought into it, I see two ways of stacking. <input type="file" class="file(mr-6 px-4 py-2 hover(bg-red-200)) />
or <input type="file" class="file(mr-6 px-4 py-2) file:hover(bg-pink-300) />
I would suggest this also apply to breakpoints. I've found myself having real issue of keeping track of my styles when styling for mobile, tablet, laptop, desktop with having 4 slight variations of the same style. <div class="flex flex-col md(flex-row)>
|
Beta Was this translation helpful? Give feedback.
-
Isn't there any solution to this by now? 🙏 |
Beta Was this translation helpful? Give feedback.
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,
I'm sure this is a duplicate because it looks kinda obvious (I searched but didn't find a similar discussion)
Instead of repeating a modifier many times, why not regroup the classes
Example
becomes something like
This could be useful especially for more complex modifiers like
lg:dark:hover:...
wdyt?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions