Description
The :after pseudo-element inserts content after an element.
Examples
This example shows how to play a sound after each occurrence of an h1
element.
h1:after {
content:url(alert.wav);
}
Browser Support
Chrome | Firefox | IE | Safari | Opera |
---|---|---|---|---|
Miscellaneous Information
Inherited: | Yes |
---|---|
Defined In: | CSS1 |