CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 39 of 78 | |
Testing | Date | Revision |
::selection pseudo-element (ID #40) | 11-july-2001 | 1.0 |
Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.
p::selection { font-size : xx-large ; background-color : lime }
<p>Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph should have green background.</p>