back

::selection

This is used to select the portion of an element that has been selected by the user.

Note the use of two colons ( : ) rather than one like other classes.

For maximum browser support, you should use the following prefixes:
(1) ::-moz-selection
(2) ::selection

Example