This property is typically used with the ::before and ::after pseudo-elements to generate content in a document.
Values for "content"
CSS Level | Value |
CSS Generated Content Level 3 | "normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> | <attr()> ]+ ]?" |
Recommended Links
Accessibility Information & Tips
- Use CSS to include decorative images wherever possible. The CSS "background", "background-image", "content", and "list-style-image" properties can be used. This avoids additional markup in the content. Visit https://www.w3.org/TR/WCAG20-TECHS/C9 for more information.
Search Engine Links (for more information)