content

Draft

Definition

The content CSS property is used with pseudo-elements (::before and ::after) to generate content in an element. It can hold counters, strings, images or nothing. For example, content: 'Hello'; will insert the word “Hello” before or after the content of an element, depending on whether it’s used with ::before or ::after.