Monday 26 December 2011

Text-shadow

Text-shadow
Text-shadow is quite similar to box-shadow. it must be applied to text by using same four parameters:
  • x-offset
  • y-offset
  • blur
  • color of shadow
Syntax:

 h1 {  text-shadow: 0 1px 0 #fff;  color: #292929; }
 Note: Internet Explorer does not support the text-shadow property.

  Example:

No comments:

Post a Comment