CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 129 of 153 of the static tests category | |
Testing | Date | Revision |
:before with ::before (ID #168a) | 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>