CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 5 of 9 of the interactive tests category | |
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>