css.properties

text-shadow

Adds shadows to text.

Formal Syntax

text-shadow = none | <shadow># <shadow> = <color>? && [ <length>{2} [ <length [0,โˆž]> <length>? ]? ] && inset?

See specification

JavaScript Access

// Access via element.style element.style.textShadow = "none";

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
text-shadow23.51.112
none23.51.112

Related Properties