Text Styling Pseudo-Elements
Learn to style text with pseudo-elements like ::first-letter, ::first-line, ::selection, and ::placeholder.
We'll cover the following
Text styling pseudo-elements allow us to apply styles to specific parts of the text within an element, such as the first letter or the first line.
::first-letter
The ::first-letter
pseudo-element styles the first letter of the first line of a block-level element.
Get hands-on with 1400+ tech skills courses.