selection

The selection CSS pseudo-element specifies represents the portion of a document that has been selected and is active.

Syntax

selector::selection
{
    property: value;
}

Examples

after

backdrop

before

first-letter

first-line

highlight

marker

placeholder

World Wide Web Consortium (W3C)

HomeMenu