Build CSS text-shadow with sliders and see a live text preview
CSS text-shadow adds one or more drop shadows to text, defined by horizontal offset, vertical offset, blur radius, and colour. A single well-tuned shadow makes headlines pop on a background image; layering multiple shadows creates neon glow, letterpress, long-shadow, or 3D extrusion effects — purely in CSS, with no images or SVG filters required. The property has been supported by every major browser since IE10.
This generator provides a live preview with controls for each shadow layer: drag the offset handles or type values directly, adjust blur, pick a colour with an alpha channel, and toggle layers on/off. The output is a ready-to-paste CSS text-shadow declaration that can include unlimited comma-separated shadow layers. Copy the single line of CSS and drop it into your stylesheet.
text-shadow: offset-x offset-y blur-radius color. The blur-radius is optional (defaults to 0 = hard edge). Colour can come before or after the offsets — both are valid CSS, but after is the common convention.
Yes. Setting blur-radius to 0 or omitting it gives a crisp hard-edged shadow. This is the basis of long-shadow and retro 8-bit effects, where you stack many zero-blur shadows in the same direction.
Yes — text-shadow applies to the text content of pseudo-elements just as it does to real text. This is commonly used to create decorative effects without extra HTML.
No. text-shadow applies only to the text glyphs and their decoration (underline, etc.); box-shadow applies to the entire element box, including padding and border. text-shadow does not support the inset keyword.
Box Shadow Generator · Border Radius Generator · Flexbox Generator · CSS Grid Generator · CSS Animation Generator · CSS Filter Generator