📐Elevation
Also known as Elevation Scale, Shadow Levels, Depth
How high a surface seems to float, shown by its shadow.
Think of it like
It is like sheets of paper stacked on a desk. The top sheet casts a shadow on the ones below.
Example
A card has a soft small shadow. When Mia opens a menu, it casts a bigger shadow, so it clearly sits on top.
Why it matters
Consistent depth tells people what is on top and what to deal with first.
Definition
Example code
css
.card { box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.menu { box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); }Common mistake
Key takeaways
- 1Shadow shows height. Bigger is higher.
- 2A few levels. Card, menu, dialog.
- 3Higher is more urgent. Closest to the user.