CSS's "hovered state" will trigger when the user hovers over an element:
<style>
.element{
}
.element:hover{
background-color:red;
}
</style>
How can we set the element to "hovered state" using Javascript?
Is it possible?
CSS's "hovered state" will trigger when the user hovers over an element:
<style>
.element{
}
.element:hover{
background-color:red;
}
</style>
How can we set the element to "hovered state" using Javascript?
Is it possible?