Visual polish: Subtle shadows
A restrained shadow can separate surfaces; it is not a substitute for content hierarchy.
Current edit
Understand the pattern
A restrained shadow can separate surfaces; it is not a substitute for content hierarchy.
A restrained shadow can separate surfaces; it is not a substitute for content hierarchy.
Misconceptions to reject
- If the page fits one desktop viewport, no narrower viewport needs checking.
- Hiding all overflow always makes content accessible.
The preview is a sanitized subset, not a full browser compatibility test.
Worked example and expected result
.card { background-color: #ffffff; }
.card { box-shadow: 0 2px 8px #00000014; }
.card { border: 1px solid #d9e2dd; }A restrained shadow can separate surfaces; it is not a substitute for content hierarchy.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Visual polish: Consistent radiiTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Visual polish: Status colorsColor can reinforce a written status but should never be its only carrier.Practice
- 02Visual polish: Consistent radiiA small radius system keeps related controls consistent without making every surface look like a pill.Practice
- 03Visual polish: Visual polish checkpointReadable typography, one action hierarchy, and a keyboard focus treatment are useful polish before decorative effects.Practice