text-shadow

Important

This documentation is preliminary and subject to change.

Specifies a shadow effect for the affected text characters.

Syntax

{ text-shadow:colorlength[length] }

Possible values

String that specifies the following values:

color

Specifies the color of the shadow.

length

Specifies the thickness of the shadow.

length

Optional. Specifies the blur radius of the shadow.

Standards information

This property is defined in CSS Text Level 3 Gg721776.xtlink_newWindow(en-us,Expression.40).png..

Applies to

a, address, b, big, blockquote, body, button, caption, center, cite, code, col, colgroup, custom, dd, defaults, dfn, div, dl, dt, em, fieldset, form, hn, html, i, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, li, ol, p, s, span, sub, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var, xmp

See also

Concepts

text-outline

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.