CSS 3 Module <== Test # ==>
W3C Selectors 125 of 140 of the static tests category
Testing Date Revision
:first-line with ::first-line (ID #167a) 1-january-2001 1.0

The first line of this paragraph should have a green background.

  p::first-line { background-color: red; }
  p:first-line { background-color: lime; }
   <p>The first line of this paragraph should have a green background.</p>