CSS 3 Module <== Test # ==>
W3C Selectors 6 of 15 of the interactive tests category
Testing Date Revision
::selection pseudo-element (ID #40) 20-november-2001 1.1

NOTE: User interaction is required for this test.

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 { 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>