Design soft cards
Use gentle blur and low opacity for elegant cards, dashboards and content blocks.
Adjust blur, spread, offsets, color and opacity. Preview your shadow live and copy clean CSS for cards, buttons, images and interface elements.
Use gentle blur and low opacity for elegant cards, dashboards and content blocks.
Copy one CSS line and paste it into your website, prototype or design system.
Tune offset, spread and opacity to make buttons, images and panels feel layered.
A box shadow generator helps you create CSS shadows visually. Instead of guessing the right blur, spread or offset values, you can adjust sliders and copy the exact CSS.
Box shadows are useful for cards, buttons, modals, images, navigation bars and product blocks. A soft shadow can add hierarchy and depth without making the design feel heavy.
This tool creates clean CSS using the standard box-shadow property, ready to paste into your stylesheet, website builder, WordPress site or HTML file.
The box-shadow property adds a shadow around an element. You can control horizontal offset, vertical offset, blur, spread and color.
Soft card shadows usually use a low opacity, a larger blur and a small negative spread. This creates lift without harsh edges.
Yes. Smaller blur and spread values usually work best for buttons. For cards and modals you can use larger, softer shadows.
A screen is flat. A shadow suggests that something floats.
That is useful. A card lifts off the page. A button asks to be pressed. A modal comes forward.
A shadow tells the eye what is on top.
In the real world, light comes from somewhere. Usually from above.
That is why most shadows fall down, and a little to the side.
Choose one light source for your whole design. If every element has shadows in different directions, the page feels restless without anyone knowing why.
Give your interface a few levels. Flat. Raised. Floating.
A card at rest has a small shadow. The same card on hover rises a little. A dialog floats highest.
Three or four levels are enough. Write them down once. Use them everywhere.
Remove every shadow from your design. What do you miss?
Only put back the shadows you missed. Usually that is less than half.
A product card in a web shop. At rest: a very soft shadow, a few pixels down, low opacity. On hover: slightly larger and softer.
The card seems to rise toward your finger. It invites a click without saying so.
A dropdown menu. It sits above the page, so it needs a clearer shadow than a card. A second, wider shadow with very low opacity adds depth.
Now it clearly floats. Nobody tries to click through it.
A flat, minimal design. Sometimes the best shadow is none. Use a thin border or a slightly different background color instead.
Separation does not always need depth.
We let students photograph a paper card on a table, near a window.
Look at the shadow. Soft, light, a little blue. Then rebuild it in CSS.
The best interface shadows are copied from paper.