Monday 26 December 2011

Text-Outline

Text-Outline

 By using a comma as the separator, we can apply multiple shadows,
 webkit offers a stroke effect for creating the outline for the text.
Syntax:
 body { background: #ffffff; }
   h1 {text-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
 color: #ffffff;
   }
  Example:

No comments:

Post a Comment