CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 146 of 182 | |
Testing | Date | Revision |
:before with ::before (ID #168) | 2001-01-01 | 1.0 |
This test has .
(If the previous line just reads "This test has ." then this test has failed.)
span:before { background-color: red; content: 'FAILED'; } span::before { background-color: lime; content: 'PASSED'; }
<p>This test has <span></span>.</p> <p>(If the previous line just reads "This test has ." then this test has failed.)</p>