CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 53 of 178 | |
Testing | Date | Revision |
::first-letter pseudo-element with ::before pseudo-element (ID #39a) | 2002-01-01 | 1.0 |
his very long paragraph should have a big first letter T with a green background.
p:first-letter { background-color: lime; font-size: xx-large; } p:before { background-color: red; content: 'T'; }
<p>his very long paragraph should have a big first letter T with a green background.</p>