Replies: 4 comments
-
The |
Beta Was this translation helpful? Give feedback.
-
Whatever is there on your website — like the example you provided and the video I sent you — if in Tailwind version 4 the group-hover or hover doesn't work in responsive mode, then is it a Tailwind issue? Because sometimes I use links (probably referring to online Tailwind generators) to generate the CSS, but I see the same issue everywhere. |
Beta Was this translation helpful? Give feedback.
-
Like b/m eg for my use
|
Beta Was this translation helpful? Give feedback.
-
I believe it is intentional. In responsive mode, the browser emulates a touch device. .group-hover\:text-red-500 {
&:is(:where(.group):hover *) {
@media (hover: hover) {
color: var(--color-red-500);
}
}
} If you want @custom-variant hover (&:hover); This would now produce: .group-hover\:text-red-500 {
&:is(:where(.group):hover *) {
color: var(--color-red-500);
}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear team .
Group and group-hover Not working at responsive screen in tailwind-V4
video-38169582-3ea621e000c8996e3ce17f7fae11cbd6.webm
Br//
Muhammad Fauzan
Beta Was this translation helpful? Give feedback.
All reactions