Friday, 6 July 2012

CSS :AFTER PSEUDO ELEMENT


CSS - The :after Pseudo-element

The ":after" pseudo-element can be used to insert some content after the content of an element.
The following example inserts an image after each <h1> element:


Example

h1:after
{
content:url(smiley.gif);
}

No comments:

Post a Comment