CSS Box Shadow Generator
Create a box-shadow visually, adjust every value, and copy ready-to-use CSS.
Live preview
Generated CSS
box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.25);How to create a CSS shadow
Adjust X and Y offsets, blur, spread, color, and opacity. The preview and box-shadow declaration update in real time.
The box-shadow syntax
X moves the shadow horizontally and Y vertically. Blur softens its edge, spread expands or contracts it, and inset places the shadow inside the element.
box-shadow: X Y blur spread color;
Presets as a starting point
Presets apply editable combinations. Copy the final declaration and adapt it to your interface's background, size, and visual hierarchy.
Explore all web development tools