Pseudo-Elements

Learn all about CSS pseudo-elements.

Pseudo-elements

A pseudo-element styles specific parts of an element. For example, we could use it to style the first letter (::first-letter) or line (::first-line) of a given element. Alternatively, we could ...