What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 11, 2008 by pilgrim
Labels: about-css
TargetCSSPseudoClass  
The :target CSS pseudo-class matches the element that is the target of the URI fragment identifier.

Usage

a:target {
   color: red;
}
/* This code segment will make the element that is the target of the URI fragment identifier turn red in color. */

Browser compatibility

Test IE8 IE7 FF3 FF2 Saf3 Opera9.5

Further reading


Sign in to add a comment