CSS Text Shadow Generator

Add depth or a glow to text and copy the CSS.

Loading tool...

How to use CSS Text Shadow Generator

  1. Adjust offsets and blur.
  2. Choose a color and opacity.
  3. Copy the text-shadow CSS.

About this tool

Text shadows use offset-x, offset-y, blur radius and color. A small offset with no blur creates a hard drop shadow, while zero offset with a large blur creates a glow. Use shadows lightly, because heavy effects reduce legibility.

Check text and background contrast after adding a shadow.

Frequently Asked Questions

Can I add multiple text shadows?
Yes. Separate shadows with commas in the text-shadow property.
Does text-shadow work on all text?
It applies to any text element in all modern browsers.

Related tools