DEV Community

Discussion on: CSS Hover Effect

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

This is a nitpick, but hover is not a "property".

If it was a property, you'd set it like hover: true; but it's not, it's a pseudoclass, aka. it works like a class, but you can't set this class yourself (instead, the browser toggles the pseudoclass on its own when the user hovers over the element)

Collapse
 
hrushikesh41 profile image
Hrushikesh Kokardekar

Thanks for your feedback and will surely Look into it