CSS3 text-shadow

Aug 08

CSS3 has new property text-shadow to add shadow to text.

.shadowclassname{
text-shadow: 0.1em 0.1em #333;color:red
}

Rapidop :: Quality Web Resources

Text shadow has main two attributes one is color and second offset. By changing offset you can create sharp or less blured shadows.

Less offset:

Rapidop :: sharp shadow

More offset:

Rapidop :: sharp shadow


.yourshadowclass1{
text-shadow: 0.1em 0.1em 0.05em #333;color:blue
}
.yourshadowclass2{
text-shadow: 0.1em 0.1em 0.2em black;color:blue
}

Related Posts:

Leave a Reply