Menu Home

first-line

osbo.com | CSS | Pseudo-Elements | first-line

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

Syntax

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

Examples

Internal

first-letter

External

World Wide Web Consortium (W3C)