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

World Wide Web Consortium (W3C)

Home Menu