CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 14 of 19 of the interactive tests category | |
Testing | Date | Revision |
Syntax and parsing of new pseudo-elements (ID #159) | 2001-11-20 | 1.0 |
NOTE: User interaction is required for this test.
Try selecting some text in this document. It should be have a green background.
::selection { background: lime; } :selection { background: red; }
<p>Try selecting some text in this document. It should be have a green background.</p>