CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 40 of 128 of the static tests category | |
Testing | Date | Revision |
::first-letter pseudo-element with ::before pseudo-element (ID #39a) | 1-january-2002 | 1.0 |
his very long paragraph should have a big first letter 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 with a green background.</p>