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