CSS Text-Shadow Generator
Software · Free
CSS Text-Shadow Generator
What is this tool?
Set the horizontal and vertical offset, blur, colour and opacity of a text shadow with sliders and copy the text-shadow code; stack several layers and change the preview text, font size and colours.
📘 Common mistakes · Worked exampleSet the horizontal and vertical offset, blur, colour and opacity of a text shadow with sliders and copy the text-shadow code; stack several layers and change the preview text, font size and colours.
The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.
Last reviewed: · Methodology and sources
How is it calculated?
Set the horizontal and vertical offset, blur, colour and opacity of a text shadow with sliders and copy the text-shadow code; stack several layers and change the preview text, font size and colours.
What is this tool?
Set the horizontal and vertical offset, blur, colour and opacity of a text shadow with sliders and copy the text-shadow code; stack several layers and change the preview text, font size and colours.
Common mistakes
- Adding a fourth length (spread) or inset out of box-shadow habit. text-shadow accepts neither; the declaration becomes invalid and is ignored entirely.
- Getting the layer order backwards. The first shadow listed is on top, so put the tight, sharp layer first and the wide, faint one last.
- Trying to rescue low-contrast text with a shadow. A shadow on light grey text over a light grey background just smudges the letters; fix the text and background colours first.
- Using pure black at 100 % opacity with a large blur. It leaves a dirty blotch around the text; lowering the opacity or picking a dark tone of the background looks cleaner.
- Forgetting that the shadow shows through semi-transparent text. Shadows are not clipped to the shape of the glyphs, so with a translucent text colour the shadow behind is visible too.
- Assuming the preview's text and background colours are part of the code. The tool only outputs the text-shadow line; color and background have to be set in your own styles.
📘 CSS text-shadow: Syntax, Layer Order and Readable Shadows →
Sources
Frequently Asked Questions
+CSS Text-Shadow Generator — how is it calculated?
Set the horizontal and vertical offset, blur, colour and opacity of a text shadow with sliders and copy the text-shadow code; stack several layers and change the preview text, font size and colours.
+Is my data stored?
No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.
+Is it free?
Yes, all tools are free and require no sign-up.
Similar tools
Popular Tools
Free Calculators in One Place
Tax, finance, health, math and more — 500+ tools, all in one place.