Box Shadow
Box Shadow
A shadow under a box that makes it look like it's floating.
💡 It's like lifting a sheet of paper off a desk and seeing the shadow underneath.
👆 Try it yourself
It really works — click around and see.
Card
CSSbox-shadow: 0 6px 16px rgba(0,0,0,0.15);
🤖 Say this to your AI
Give the cards a very soft Box Shadow. When the mouse hovers, make the shadow a bit darker and wider so they feel like they're lifting up.
The key word is ‘Box Shadow’. Including it helps AI understand you much more precisely.
When to use it
- When you want cards, modals, or floating buttons to stand out from the background
Also called: shadow, drop shadow, floating look, depth, 3D look, elevation