Color and CSS tools

CSS Box Shadow Generator

Build a box-shadow visually and copy the CSS. Adjust offset, blur, spread, color and opacity, stack up to four layers for a more natural look, or start from a preset.

FreeNo sign-upRuns in your browser
1 view

How to use the css box shadow generator

  1. Move the sliders for offset, blur, spread and opacity, and choose a shadow color.
  2. Add layers for a softer, more realistic result, or tick Inset for an inner shadow.
  3. Click Copy CSS and paste it into your stylesheet.

A box shadow has up to five values: horizontal offset, vertical offset, blur radius, spread and color. A larger blur makes the edge softer; a negative spread shrinks the shadow, which is how designers make a shadow that appears only underneath an element. Real shadows are made of several soft layers, so two or three layers with low opacity look far more natural than one dark shadow. The color is exported as rgba() so the opacity is kept.

Frequently asked questions

What is the difference between blur and spread?

Blur softens the edge of the shadow. Spread makes the whole shadow bigger or smaller before the blur is applied.

What is an inset shadow?

A shadow drawn inside the element instead of outside it. It is used for pressed buttons and input fields.

Do shadows slow down a page?

A few shadows do not. Very large blurs on many animated elements can cost performance, especially on phones.

More free tools

See all tools

Did this tool help you?Tap the heart to let us know. It takes one second and no account.
Bigland Network IT

Practical tutorials for people who run, build and fix things: operating systems, databases, development, networking and security.

Topics

More

Site

© 2026 Bigland Network. All rights reserved.Always test commands on a non-production system first.
Scroll to Top