G
Great Online Apps

CSS Box Shadow Generator

Guide

Shadow

Horizontal offset (0px) Vertical offset (4px) Blur radius (6px) Spread radius (-1px) Opacity (0.1)
Shadow color Box color Background color
Inset shadow

Preview

Preview
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.10);

About the CSS Box Shadow Generator

Design a CSS box-shadow visually instead of guessing values. Move the sliders, pick a shadow color and opacity, and the preview and the CSS update together. It is made for front-end developers and designers styling cards, buttons and modals.

How to use it

  1. 1 Drag Horizontal offset and Vertical offset to move the shadow.
  2. 2 Adjust Blur radius and Spread radius to soften the shadow or change its size.
  3. 3 Choose the Shadow color, Opacity, Box color and Background color, and tick Inset shadow for an inner shadow.
  4. 4 Click Copy CSS and paste the box-shadow declaration into your stylesheet.
Read the full CSS Box Shadow Generator guide

Frequently asked questions

G
Great Online Apps
Toggle sidebar