CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 44 of 153 of the static tests category | |
Testing | Date | Revision |
::first-line pseudo-element (ID #38) | 2001-07-11 | 1.0 |
This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background.
p:first-line { background-color : lime }
<p>This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background. This very long paragraph should have a first line with green background.</p>