Description

Used with the :before and :after pseudo-elements to generate content.

Example

 p:after{content:"The end.";}
img:after{url("music.wav")}

Values
normal | none | [ <string> | <uri> | <counter> | attr(<identifier>) | open-quote | close-quote | no-open-quote | no-close-quote ]+ | inherit
Default value
""
Introduced in CSS version
2.1
Applies to elements
:before and :after pseudo-elements
Inherited
No
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions81unknown61
Belongs to:

See the full list CSS properties and browser support: CSS Properties