Latest

recent

CSS :after pseudo-element

Definition

The :after pseudo-element inserts some content after the content of an element.

Examples

The style below will play a sound after each occurrence of an <h1> element:

h1:after
{
content: url(beep.wav)
}

Goto CSS3 and CSS2 complete reference


 
CSS :after pseudo-element Reviewed by 1000sourcecodes on 09:40 Rating: 5
Powered by Blogger.