+ 2
How can I control "hover" of css with javascript
For example "a:hover" controlled with DOM
1 Réponse
+ 2
Hover is a so called pseudoelement, it does not really exist in the DOM. What you can do is utilize events, like mouseover, mouseout etc. and execute code on action, changing the style of the element.