Remove hover effect on mobile | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Remove hover effect on mobile

Hello, is it possible to remove the hover effect on mobile devices and how can i do it? Thanks

28th Mar 2019, 2:52 PM
FlyiiingDani
FlyiiingDani - avatar
11 Respostas
+ 14
FlyiiingDani - i have an iPhone and some codes with ā€œhoverā€ work when you click on them and some donā€™t. Someone more experienced than me might be able to tell us why. (Hopefully)
30th Mar 2019, 2:44 AM
Candyopoly
Candyopoly - avatar
+ 9
Just found this article on stackoverflow. NOTE: you have to turn off the ā€œreading viewā€ (hamburger menu - three lines in upper right corner) or view in internet. Read first 5-6 comments. https://stackoverflow.com/questions/18047353/fix-css-hover-on-iphone-ipad-ipod
30th Mar 2019, 9:24 PM
Candyopoly
Candyopoly - avatar
+ 3
://Please clarify your question or attach your source code so community can help you
28th Mar 2019, 6:11 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
:// FlyiiingDani so you want to remove hover effect šŸ¤”šŸ¤”remember after removing hover dropdown won't work
28th Mar 2019, 6:22 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
://FlyiiingDani actually dropdown working on hover not on click, see from line 36 on css
28th Mar 2019, 6:33 PM
Sudarshan Rai
Sudarshan Rai - avatar
28th Mar 2019, 6:20 PM
FlyiiingDani
FlyiiingDani - avatar
+ 1
Yes, i want that, on mobiles the dropdown opens onclick and not when its hoverd.
28th Mar 2019, 6:26 PM
FlyiiingDani
FlyiiingDani - avatar
+ 1
Thank you for your help but i guess it's not clear what i want to say. On the computer i want that the dropdown menu opens when you hover it and on mobil devices i want that the dropdown opens when you click on the on the first list item
28th Mar 2019, 6:43 PM
FlyiiingDani
FlyiiingDani - avatar
+ 1
://FlyiiingDani because on mobile hover and click act same, because hover or click we need to touch so
28th Mar 2019, 6:46 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Mhm, On my android Smartphone in chrome, the hover effect isnt the same as hover.
28th Mar 2019, 7:00 PM
FlyiiingDani
FlyiiingDani - avatar
0
What hover effect? Please provide more details.
28th Mar 2019, 4:04 PM
Dragonxiv
Dragonxiv - avatar