📐Drop Shadow
Also known as Box Shadow, Shadow Effect
A soft dark shape behind an object. It makes the object look like it floats.
Think of it like
It is like the dark spot under your hand. You see it when you hold your hand over a table in the sun.
Example
A card has a small shadow 2 pixels down. When you drag it, the shadow grows to 8 pixels, so the card seems to lift.
Why it matters
Shadows tell people what sits on top and what they can pick up, with no words at all.
Definition
Example code
css
.card {
box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}Common mistake
Key takeaways
- 1Light from above. Shadows fall down.
- 2Bigger means higher. More blur, more lift.
- 3A few fixed sizes. Tied to elevation.