/* Generated on cssgen.org */
box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
Visually design realistic drop shadows and inner shadows. Adjust offsets, blur, spread, color & inset in real time. Copy clean, cross-browser CSS instantly — no signup needed.
/* Generated on cssgen.org */
box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
Perfect for cards, buttons, modals, hero sections, and modern neumorphic designs.
The box-shadow property adds depth and realism to any element.
Our free online generator removes the guesswork so you can focus on design instead of syntax.
For the complete technical reference, see the official MDN Web Docs on box-shadow.
Here are popular, modern box-shadow combinations you can use immediately:
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
box-shadow: 25px 25px 50px -12px rgb(0 0 0 / 0.25);
box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.1);
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
The CSS box-shadow property creates a rectangular shadow around an element's bounding box. The CSS filter: drop-shadow() function conforms to the actual shape of the element, making it perfect for transparent PNGs or SVGs.
To create an inner shadow, simply add the inset keyword. Our tool does this instantly with the checkbox.
Yes! Separate each shadow with a comma. This is the secret to realistic, high-end UI depth.
box-shadow: [inset] offset-x offset-y blur-radius spread-radius color;
Target the element and paste the code our generator gives you.
Yes — fully supported in every modern browser since 2010. No prefixes needed.
Blur softens edges. Spread grows or shrinks the shadow size before blurring. Negative spread is excellent for floating effects.
Text Shadow Generator • Neumorphism Generator • Border Radius Generator