CSS Pseudo-element :first-line Selector
What is a CSS Pseudo-element :first-line Selector?
- The :first-line pseudo-element selector specifies the first line of an element. This selector applies to block container elements. In the following example, the color property will be set to red for the first line of every <p> element.