Hello everybody,
I've learned how to apply pseudo-class by using CSS style.
For example,
a: hover {color: green}
.
My QUESTION:-
How can we apply...
For further actions, you may consider blocking this person and/or reporting abuse
As in, how in javascript do you detect hover/focus/etc?
There's a whole slew of mouse events (like
onmouseoverandonmouseleavewill trigger for the beginning and ending of a "hover")w3schools.com/jsref/obj_mouseevent...
Thanks. But you mean by javascript!
Yes, sorry I thought that's what was meant by "without CSS". Is the question asking for inline styling?
Pseudo classes won't work inline from my experience