>
Black Friday: Kinsta 50% off for 3 months · WPX first month $1.80 · InMotion up to 73% off — See the 4 hosting deals →
Sharjeel TahirYour everyday toolkit
Menu

CSS Box Shadow Generator

Create a CSS shadow with offsets, blur and opacity.

  • Free, no sign-up
  • Runs in your browser
  • 100% private — runs in your browser
Sharjeel Tahir

By Sharjeel Tahir

WordPress & Technical SEO Specialist · Lahore, Pakistan

What do I need to enter?

YOUR RESULT

Ready to use

Use the example inputs or enter your own values.

Your input is processed in this browser.

Create a CSS shadow with offsets, blur and opacity. Creates a black rgba shadow from your geometric values and percentage opacity. Enter horizontal offset (px), vertical offset (px), blur (px), spread (px), opacity (%). Update the result, inspect it, then copy or download the output.

METHOD

How does this tool work?

Creates a black rgba shadow from your geometric values and percentage opacity.

Enter horizontal offset (px), vertical offset (px), blur (px), spread (px), opacity (%). Update the result, inspect it, then copy or download the output. Reset restores the example inputs so you can start a new calculation.

Example inputs: Horizontal offset (px): 0 · Vertical offset (px): 12 · Blur (px): 30 · Spread (px): 0 · Opacity (%): 12.

BEFORE YOU USE THE RESULT

What are the assumptions and limitations?

Shadows can affect paint cost and visual clarity. Keep contrast independent of the shadow.

Common questions

Do I need an account?

No. This tool works in a modern browser with JavaScript enabled. Your inputs are not submitted to a server by the tool.

Can I save the result?

Use Copy for the textual result or Download for a local file. Image tools download a generated image when one is available.

Will it change my live website?

No. It produces a result for you to review. Production changes remain a separate step.

Keep working

Explore related tools for the next part of your website task, or discuss a project if you need help applying the result.

Discuss a project