CSS 3 Module <== Test # ==>
W3C Selectors 250 of 296
Testing Date Revision
Syntax and parsing of new pseudo-elements (ID #159) 2001-11-20 1.0

NOTE: User interaction is required for this test.

Try selecting some text in this document. It should be have a green background.

  ::selection { background: lime; }
  :selection { background: red; }
 <p>Try selecting some text in this document. It should be have a green background.</p>