Web features explorer

::first-line

Widely available since 2018-01-29
Tags: css Groups: CSS > Selectors

The ::first-line CSS pseudo-element selects the first line of text in an element for styling.

Learning resources on MDN

Browser support (view on caniuse.com)