3 ms·
No, but `group` doesn't affect the parent in Tailwind. You put `group` in the parent to mark it, and then use the `group/...` syntax to apply different properti
by MrJohz 1y ago
No, but `group` doesn't affect the parent in Tailwind. You put `group` in the parent to mark it, and then use the `group/...` syntax to apply different properties to the child, depending on the different states of the parent. This doesn't require `:has`.
I don't think Tailwind has a built-in `:has` tool, but I suspect it would be easy to add one as a custom class.
- luckylion 1y agoOh, I misunderstood the GP then, thanks for clarifying!
- omnimus 1y agoTailwind has few :has tools but it’s imho terrible. They keep inflating the system to nonsense.
- reactordev 1y agoThis.
- deleted 1y ago[deleted]