Complete CSS Selector Reference
Select and style the first letter of every <p> element:
The :first-letter selector is used to add a style to the first letter of the specified selector.
Note: The following properties can be used with :first-letter:
![]()
The :first-letter selector is supported in all major browsers.
CSS tutorial: CSS Pseudo elements
Complete CSS Selector Reference
Your message has been sent to W3Schools.