Thursday, January 17, 2013

How to use " :before " and ":after" sector in CSS2

0 comments
The ::after" selector is mainly used to inserts content after the selected element or elements.
p:after
{
content:"..readmore";
} 
same way The ":before" is used for inserts content before the content of the selected elements or element.
p:before
{
content:"read this... ";
} 

Read more...