first-line

The first-line CSS pseudo-element specifies the first line of the originating element.

Syntax

selector::first-line
{
    property: value;
}

Examples

first-letter

after

backdrop

before

first-letter

marker

placeholder

selection

World Wide Web Consortium (W3C)

Home Menu