CSS Pseudo-elements
Pseudo-elements style specific parts of an element. ::Before The ::before pseudo-element inserts content before an element’s actual content. ::After The ::after pseudo-element inserts content after an element’s actual content. ::First-line The ::first-line pseudo-element applies styles to the first line of text inside an element. ::First-letter The ::first-letter pseudo-element applies styles to the first letter of the first line of text inside an element. CSS Pseudo-elements Example Code CSS Labs