|
|
ActiveCSSPseudoClass
The :active CSS pseudo-class matches a hyperlink while it is being activated (selected/clicked).
Usage
a:active {
color: blue;
}
/* This makes all active links turn blue. */Browser compatibility
| Works | FF3 | FF2 | Opera9.5 |
| Buggy | IE6(1) | ||
| Test | IE8 | IE7 | Saf3 |
(1) In IE6 :active is also applied to the :focus state
Further reading
Sign in to add a comment
