CSS Text Shadow Generator
Create text shadows with as many layers as you like: soft, glowing, neon, 3D or outlined.
Presets
Layers
How to use the Text Shadow Generator
- Start from a presetTry Soft, Glow, Neon, 3D, Outline, Retro or Long shadow. Click the preview to type your own text.
- Edit the layersChange the offset, blur, color and opacity of each shadow, or add and remove layers.
- Copy the CSSCopy the color and text-shadow lines into your stylesheet.
Example
Soft: text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
Neon stacks 4 glows: 0px 0px 4px #ffffff, 0px 0px 10px #ff2fd4, … on a dark background.
Frequently asked questions
What are the four parts of a text shadow?
Horizontal offset, vertical offset, blur radius and color. Positive offsets move the shadow right and down; a blur of 0 gives a sharp copy of the text.
How do I stack several shadows?
Separate them with commas. The first shadow is drawn on top. Stacking sharp shadows step by step creates 3D and long-shadow effects.
Can text shadows hurt readability?
Heavy or low-contrast shadows can make text blurry. Keep body text simple and use strong effects for large headings only.