HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-shadow

Description

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

1 · none

2 · color

3 · length

4 · JS