Visual polish: Card rhythm
Consistent internal spacing makes repeated content easier to compare than arbitrary per-card offsets.
Current edit
Understand the pattern
Consistent internal spacing makes repeated content easier to compare than arbitrary per-card offsets.
Consistent internal spacing makes repeated content easier to compare than arbitrary per-card offsets.
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 { padding: 1.25rem; }
.card { display: grid; gap: 0.75rem; }
.card h2, .card p { margin: 0; }Consistent internal spacing makes repeated content easier to compare than arbitrary per-card offsets.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Visual polish: Readable contrastTry 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: Focus ringsA separated, visible outline makes the keyboard target identifiable without shifting layout.Practice
- 02Visual polish: Readable contrastForeground and background work as a pair. Color choice still needs contrast measurement in the real product.Practice
- 03Visual polish: Status colorsColor can reinforce a written status but should never be its only carrier.Practice