| CSS 3 Module | <== Test # ==> | |
|---|---|---|
| W3C Selectors | 138 of 156 | |
| Testing | Date | Revision |
| :after with ::after (ID #169a) | 1-january-2001 | 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>