CSS:text-shadow
lastmod 2026-11-10created 2014-03-172 edits
text-shadow is a CSS property that adds a shadow to text. Values are written in the order horizontal offset, vertical offset, blur radius, and color, and multiple shadows can be layered by separating them with commas. It is used to improve the readability of text over a background or for decoration such as outline and neon effects. Unlike box-shadow, which adds a shadow to the element box, the shadow follows the shape of the glyphs.