Tuesday, June 8, 2010

CSS3 Using "text-shadow" to avoid unwanted Images

CSS Syntax

.className {
text-shadow: #666 20px -12px 2px;
}

text-shadow accepts four values:

The color(#666)
The X-coordinate (20px), relative to the text
The Y-coordinate (-12px), relative to the text
The blur radius (2px), which means the amount of space the shadowtext is 'stretched', causing a blur effect. 0 means: no blur.

Reference:http://www.quirksmode.org

No comments:

Post a Comment