text-shadow

Defines the horizontal depth, vertical depth, blur, and color for a drop-shadow for text content in the element.

Platform Support

IENetscapeMozillaOperaSafari
nononono1.1+

Usage

[depth-to-the-right] [depth-below] [blur-radius] [color]

Example

To specify a blue 5 pixel drop-shadow with a 5 pixel blur, use the following syntax: H1 {text-shadow: 5px 5px 5px blue;}.

Remarks

Specify the color before or after the depth and blur values. The first depth value corresponds to the number of pixels the shandow extends to the right. The second depth value corresponds to the number of pixels the shadow extends below the text. A third value corresponds to blur.

Availability

W3C CSS2

Related

text_css aptana_docs