Home Menu

text-shadow

The text-shadow CSS 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)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms