The Hover Pseudo-class is activated when the system pointing device
(if any exists) is within the bounds of the current element rendering
box, but has not been activated (via mouse click, etc.) The Hover
Pseudo-class is one of several that are activated based on events that occur
over time or as initiated by the user.
Example
Ext/Doc: a.test:hover
{ color: red }
In-Line: NA
Notes
Careful attention must be paid to cascading order when using Pseudo-classes.
For example, the Hover pseudo-class style rule must occur after any Link and
Visited pseudo-class rules in order to prevent the pseudo-classes from blocking
visibility of each other.
CSS2 notes that browsers do not need to support this pseudo-class, and with
some browsers or systems implementing this system may be impractical or impossible.
Browser Peculiarities
Internet Explorer
4.0+:
- This Pseudo-class currently only applies to hyperlinks.