CSS ::first line Selector
CSS ::first-line Selector
The ::first-line selector is used to adding a style to the first line of the specified selector. We can use many properties with this selector including font, color, background, word, letter, clear, text-decoration, vertical-align, text-transform, and line-height.
Syntax:-
Its syntax is:-
::first-line {
css declarations;
}