Skip to content

Glossary: CSS Layout and Responsive Design

content

Also written: content property

A property that gives a pseudo-element its text, e.g. `content: "New"`. `content: ""` makes an empty box that still exists.

Where the book teaches it

Related terms

::before / ::after (pseudo-elements)