CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 143 of 153 of the static tests category | |
Testing | Date | Revision |
::first-line on inlines (ID #179) | 2004-02-29 | 1.0 |
This line should be green.
p { color: green; } span:first-line { background: red; color: yellow; font-size: 4em; } span::first-line { background: red; color: yellow; font-size: 4em; }
<p><span>This line should be green.</span></p>