first-letter

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

Syntax

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

Examples

first-line

after

backdrop

before

first-line

marker

placeholder

selection

World Wide Web Consortium (W3C)

Home Menu