0
CSS hover & active doesnât work
I donât understand why the â:hoverâ and â:activeâ doesnât work. Can someone help me? Thank you very much in advance. https://code.sololearn.com/W3HUj5GRoPqr/?ref=app
5 Answers
+ 3
Neo :active doesn't work at here
https://code.sololearn.com/WQIGkq1cLlIP/?ref=app
+ 2
As I understand, `:active` is for hyperlinks (<a></a>). `:hover` should work fine, but you currently don't have it implemented in your CSS.
+ 1
Ipang thank you very much.
0
Matiyas thank you for the âSolvedâ example. But still, the hover doesnt work. (Im on an iPhone. Maybe its because of that that doesnt work??)
0
Use the 'a' pseudo classes in this format,
a:link(first)
a:visited(second)
a:hover(third)
a:active(fourth)
And if as a failsafe if that doesn't work, use the ! Important tag on the hover tag