Group responsive class names? #13592
Closed
gustavojardim
started this conversation in
Ideas
Replies: 2 comments
-
Hey @gustavojardim! This topic has been discussed multiple times, and it's unlikely that this feature will be added to Tailwind CSS. For more details, check out this thread. The key point is that adding group variants would significantly increase the size of the CSS file. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think it could support both ways. It's not a big flaw (or it's not even one), but I think if that tailwind supported both, we would have better readability of classNames properties and it would be easier to maintain in certain scenarios. Anyway, I'm closing this topic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Instead of writing:
md:w-full md:p-16 md:bg-indigo
Do something like:
md:[w-full p-16 bg-indigo]
Beta Was this translation helpful? Give feedback.
All reactions