Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

highlight

Description

The highlight pseudo-element for CSS specifies the portion of a document that is being contained or partially contained in all the ranges of the registered custom highlight with the custom highlight name , if any.

Syntax

selector::highlight(<custom-highlight-name>)
{
    property: value;
}

Examples

1

2

3

4

after

backdrop

before

file-selector-button

first-letter

first-line

marker

part

placeholder

selection

World Wide Web Consortium (W3C)

HomeMenu