CSS Pseudo-element :first-letter Selector
What is a CSS Pseudo-element :first-letter Selector?
- The :first-letter pseudo-element selector specifies the first letter of the first line of text in a block. This selector does not apply if the first letter is preceded by other content e.g., an image. In the following example, the font property will be set for the first letter in the <p> element.