CSS text-shadow property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS text-shadow property drops a shadow of the text.
Syntax
text-shadow : none | horizontal-offset vertical-offset blur-radius shadow-color
Property values
Property values
horizontal-offset
-
It represents the horizontal-offset of the text shadow from the original text.
- Try it
text-shadow: 2px;
vertical-offset
-
It represents the vertical-offset of the text shadow from the original text.
- Try it
text-shadow: 2px;
Applicable to
It applies to block containers.