Hover property doesn't work on mobile device in chrome browser #16506
-
So i was trying to make button with hover property the below one is a part of my codes
|
Beta Was this translation helpful? Give feedback.
Answered by
adamwathan
Feb 13, 2025
Replies: 1 comment 1 reply
-
Hey! In Tailwind CSS v4 hover styles only apply on devices that actually support hover to avoid sticky hover states: https://tailwindcss.com/docs/upgrade-guide#hover-styles-on-mobile |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RFelixD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! In Tailwind CSS v4 hover styles only apply on devices that actually support hover to avoid sticky hover states:
https://tailwindcss.com/docs/upgrade-guide#hover-styles-on-mobile