CSS :first-line pseudo-element property

Usage

Adds special styling to the first line of text in an element.

Example

Code:

p:first-line {
  color: red;
}