Menu Samaritan's Purse

TEXT-SHADOW

The text-shadow property accepts a comma-separated list of shadow effects to be applied to the text of the element.

SYNTAX

CSS

text-shadow: value;

JS

object.style.textShadow = "value";

VALUES

<'text-shadow'> = none | [ <color>? && <length>{2,3} ]#
none

No shadow.

<color>

Specifies the color using a keyword or a numerical specification.

<length>

Specifies the length using a number followed by a unit of measurement.

INITIAL

none

EXAMPLES

NONE

COLOR

LENGTH

JS

World Wide Web Consortium (W3C)