CSS 3 Module <== Test # ==>
W3C Selectors 241 of 276 of the static tests category
Testing Date Revision
:first-line with ::first-line (ID #167) 2001-01-01 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>