CSS Text Shadow Generator
Set the offset, blur and colour, preview the text shadow and copy the CSS.
How it works
Set the offset, blur, opacity and colour and see the shadow on live text. Copy the text-shadow line into your CSS.
Worked example
Offsets 2 and 2, blur 4 and black at 40% opacity give text-shadow: 2px 2px 4px rgba(0,0,0,0.4).
Good to know
- Keep shadows subtle.
- Check contrast.
- Use zero blur for a hard look.
Common questions
- Can I use many shadows?
- Yes, with commas in CSS.
- Does it work on any text?
- Yes.
- Is the CSS safe?
- It uses standard CSS.