So the group class in Tailwindcss - here's how I understand it, but I can't find it's definition in the documentation... and it does not appear to be implemented in elm-tailwind-modules perhaps there is a work-around in elm-css?
For example , an item has 2 elements
One is an icon , and the other is text (a sidebar nav link for instance)
When you hover the item, how can you let item's contents change styles trigger by a-hover ?
So you need a group class.
div .group .green .hover:blue
svg .white .group-hover:gray
text .white .group-hover:gray
When you hover on div
group-hover can let element trigger by hover under class 'group'
So the group class in Tailwindcss - here's how I understand it, but I can't find it's definition in the documentation... and it does not appear to be implemented in elm-tailwind-modules perhaps there is a work-around in elm-css?
For example , an item has 2 elements
One is an icon , and the other is text (a sidebar nav link for instance)
When you hover the item, how can you let item's contents change styles trigger by a-hover ?
So you need a group class.
div .group .green .hover:blue
svg .white .group-hover:gray
text .white .group-hover:gray
When you hover on div
group-hover can let element trigger by hover under class 'group'