CSS box shadow generator
Build layered CSS box shadows with offsets, blur, spread, colour, opacity and inset, preview them live and copy the CSS.
Questions
Why layer several shadows?
Real shadows have a tight dark part close to the object and a wide soft part further away. Stacking a small shadow and a large faint one looks more natural than one big blur.
In which order are layers drawn?
CSS paints the first shadow in the list on top. Use Up and Down to change the order.
What does spread do?
Spread grows (positive) or shrinks (negative) the shadow before it is blurred. A negative spread with a big Y offset gives a shadow that only shows below the box.