Muhammed Ahmed Tools

Box Shadow Generator

Tune the CSS box-shadow value with sliders: offset, blur, spread, color and opacity. See the result and copy the code.

This tool runs in your browser: your files and text never leave your device and are not uploaded anywhere.

How to use

  1. Use the sliders to set the offset, blur and spread.
  2. Choose the color and opacity; switch to an inset shadow if you like.
  3. Copy the CSS code.

Frequently asked

What does spread do?

It sets how far the shadow extends beyond the box; a negative value tightens the shadow and gives a softer look.

What is an inset shadow?

A shadow that falls inside the box instead of outside it; it gives the impression of a pressed or hollow surface.

Related tools

All tools