Skip to content
UniKit

CSS text-shadow generator

Build multi-layer CSS text-shadow effects: per-layer offset, blur and color, outline/neon/long-shadow/3D/glitch presets, optional -webkit-text-stroke, live preview and copyable CSS.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Effect preset

Stacked 2/6/12/24× blur radii build a glow from the inside out

1
Applying a preset replaces the layers below; you can still tweak each layer afterwards.

Shadow layers

Layer 1
0px
0px
2px
Layer 2
0px
0px
6px
Layer 3
0px
0px
12px
Layer 4
0px
0px
24px
Shadow layers:4
1px
Preview
Text Shadow

Generated CSS

Layers are joined with commas in order; paste the block straight into your stylesheet.

.text-shadow {
  text-shadow: 0px 0px 2px #22d3ee, 0px 0px 6px #22d3ee, 0px 0px 12px #22d3ee, 0px 0px 24px #22d3ee;
}

What this tool does

  • Add outline, neon glow, long shadow, 3D or glitch text effects to headings and buttons, preview first then copy the CSS
  • Tune offsets, blur and colors of a multi-layer text-shadow without hand-writing the comma-separated stack
  • Generate -webkit-text-stroke alongside the shadow when you need outlined text

Example

Input

Preset: Neon glow · color #22d3ee · scale 1

Output

.text-shadow {
  text-shadow: 0px 0px 2px #22d3ee, 0px 0px 6px #22d3ee, 0px 0px 12px #22d3ee, 0px 0px 24px #22d3ee;
}

This is the real output: four layers at the same position with 2 / 6 / 12 / 24px blur stacked from the inside out.

Frequently asked questions

Which CSS color formats are accepted?

Hex (#rgb / #rrggbb / #rrggbbaa), rgb() / rgba() / hsl() / hsla(), and common named colors such as black or tomato. A name outside the built-in common list (for example rebeccapurple) is rejected with a hint; use hex instead.

How many shadow layers can I stack?

Between 1 and 20 layers. They are joined with commas in list order, and browsers paint them in that order, so later layers sit on top of earlier ones. For outlines, list the larger offsets first.

Does -webkit-text-stroke work everywhere?

It is a WebKit-prefixed property supported by Chrome, Safari and Edge, and by Firefox since version 49. Where it is unsupported the declaration is simply ignored and the text-shadow still applies. The tool only emits the prefixed form.

Can the selector be a compound selector?

No. Only a single .class, #id or tag name (e.g. .title, #hero, h1) is accepted because it is a template for one rule. For .card .title, copy the output and replace the first line in your editor.

Keywords:text-shadowwebkit-text-stroke

Related tools