CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 131 of 153 of the static tests category | |
Testing | Date | Revision |
:after with ::after (ID #169a) | 2001-01-01 | 1.0 |
This test has .
(If the previous line just reads "This test has ." then this test has failed.)
span::after { background-color: red; content: 'FAILED'; } span:after { 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>