CSS Box Shadow Generator
Design a box shadow visually and copy the CSS.
box-shadow syntax
box-shadow: [inset] offset-x offset-y blur spread color; Positive offsets move the shadow right and down. Blur softens the edge, spread grows or shrinks the shadow, and inset draws it inside the element.
Frequently asked questions
How do I make a soft, modern card shadow?
Use no horizontal offset, a small vertical offset, a large blur and low opacity, for example 0 10px 30px rgba(0,0,0,0.15).
Can an element have multiple shadows?
Yes. Separate several shadows with commas in one box-shadow declaration.