CSS · Properties — CSS Generated Content

content

The CSS content property. Initial value: normal. Not inherited.

Syntax
content: normal | none | [ <content-replacement> | <content-list> ] [ / [ <string> | <counter> | <attr()> ]+ ]?

Example

Try it

Notes

Media: all. Applies to: allElementsTreeAbidingPseudoElementsPageMarginBoxes. Computed value: normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified.

More in this group

quotes

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course