Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make CSS hover effects touch-friendly? #10

Closed
vmcosta opened this issue Aug 31, 2016 · 2 comments
Closed

How can I make CSS hover effects touch-friendly? #10

vmcosta opened this issue Aug 31, 2016 · 2 comments

Comments

@vmcosta
Copy link

vmcosta commented Aug 31, 2016

Great stuff,
I'm just having a small big issue, it works great on desktop devices, but on mobile ones the hover effects do not trigger, any way to achieve that?

Thanks

@ciar4n
Copy link
Owner

ciar4n commented Sep 5, 2016

Hello

Presuming your device allows touch to hover. You should be able to touch your images to trigger the hover effect?

Ciarán

@C-Lodder
Copy link
Collaborator

C-Lodder commented Jul 4, 2019

Touch devices do not use a mouseover/mouseenter/hover event listener. You'll need to "tap" on the image to trigger this.

@C-Lodder C-Lodder closed this as completed Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants