CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 12 of 19 of the interactive tests category | |
Testing | Date | Revision |
NEGATED :focus pseudo-class (ID #65) | 2001-07-11 | 1.0 |
NOTE: User interaction is required for this test.
a:not(:focus) { background-color: transparent; } a { background-color: lime; }
<p>The background color of all <a href="#foo">anchors</a> should become <a href="#foo"> green</a> when they have the <a href="#foo">focus</a>.</p>