CSS 3 Module <== Test # ==>
W3C Selectors 11 of 15 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.

The background color of all anchors should become green when they have the focus.

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>