Closed joseDaKing closed 3 years ago
Yeah, you can add a custom state:
const theme = {
...defaultTheme,
states: {
...defaultTheme.states,
'group-hover': '.group:hover &',
'group-focus': '.group:focus &',
}
Then add a className="group"
on the group, and use group-hover
state on children. Do you see what I mean?
Is it possible to have group-hover, group-focus styles like the ones found in tailwindcss?