Skip to content
LovelyTools
EN

Box Shadow Generator

Design CSS box shadows visually and copy the code.

Processed locally on your device — nothing is uploaded.

About the Box Shadow Generator

A good shadow makes cards and buttons feel tangible without looking heavy. Adjust offset, blur, spread, colour and opacity with sliders and see the result on a sample card instantly.

Negative spread with a larger blur gives the soft, modern shadows used in many interfaces; inset shadows create pressed or recessed effects.

How to use the Box Shadow Generator

  1. Move the sliders to shape the shadow.
  2. Pick a colour and opacity.
  3. Copy the CSS.

Features

  • Layered shadows (up to 8 layers) for a soft, natural look
  • Four presets
  • Tailwind arbitrary-value class
  • Offset, blur and spread
  • Colour and opacity
  • Inset shadows
  • Corner radius preview

Supported formats

  • CSS

Frequently asked questions

Why use rgba for shadow colour?

Semi-transparent shadows blend naturally with any background, which looks more realistic than solid grey.

Is anything uploaded?

No. Everything is generated in your browser.