CSS 3 Module <== Test # ==>
W3C Selectors 10 of 19 of the interactive tests category
Testing Date Revision
NEGATED :hover pseudo-class (ID #63) 2001-11-12 1.1

NOTE: User interaction is required for this test.

The color of this text should be green when the pointing device hovers over it.

The color of this text should be green when the pointing device hovers over it.

div.stub * { color: lime; text-decoration: none; }
div.stub > * > *:not(:hover) { color: black }
 <div class="stub">
  <p> <span>The color of this text should be green when the pointing device hovers over it.</span> </p>
  <p> <a href="http://dummy.example.org/dummy">The color of this text should be green when the pointing device hovers over it.</a> </p>
 </div>