CSS Shadow & Gradient Generator

Build box-shadows and gradients visually. Add multiple shadow layers, each with its own offsets, blur, spread, color and inset toggle. For gradients, choose linear, radial or conic and add as many color stops as you need. Live preview updates as you adjust.

How to use

1

Choose shadows or gradients

Switch between the Shadows and Gradients tabs.

2

Adjust the controls

Set offsets, blur, spread, colors, opacity or gradient angle and stops.

3

Preview in real time

The live preview updates as you adjust each control.

4

Copy the CSS

Click Copy to copy the generated CSS to your clipboard.

0
4
16
0
25%
Generated CSS
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);

Features

Box-shadow editor

Add multiple shadow layers, each with its own offsets, blur, spread, color and inset toggle.

Three gradient types

Linear, radial and conic — with an angle for linear and conic.

Unlimited color stops

Add as many color stops as you need, each with a position from 0% to 100%.

Live preview

See the result on a sample figure as you adjust the controls.

Common use cases

  • Design a soft drop-shadow for a card
  • Build a colorful gradient background for a hero section
  • Create a layered shadow effect for a button
  • Prototype CSS effects before writing the code

Frequently Asked Questions

Related tools