::selection

The ::selection pseudo-element applies a style to the text selected by the user.

Syntax



element::selection {
  property: value;
}