What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 11, 2008 by pilgrim
Labels: about-css
HoverCSSPseudoClass  
The :hover CSS pseudo-class matches any element that is underneath the cursor position.

Usage

a:hover {
   color: teal;
}
/* This code segment will make any link on the page which has the mouse pointer over it turn teal in color. */

Browser compatibility

Test IE8 IE7 FF3 FF2 Saf3 Opera9.5

Further reading


Sign in to add a comment