Mobile-First Design
Design for constraints first. Mobile forces you to prioritize what matters.
Start small, expand outward
Mobile-first forces prioritization. With limited space, you must decide what's truly essential. Features that survive mobile constraints are the ones that matter.
Key point: Constraints breed creativity
/* Base styles = mobile */
.container { padding: 1rem; }
/* Expand for larger screens */
@media (min-width: 768px)
.container { padding: 2rem; }
Write base CSS for mobile. Use min-width media queries to add complexity. This ensures mobile devices get lean styles without downloading desktop overrides.
Key point: min-width = mobile-first, max-width = desktop-first
Not everything deserves screen space on mobile. Primary actions and core content always stay. Secondary information can hide behind interactions.
Key point: If it's not essential, it can wait
Desktop-First Problems:
Hiding content with display:none
Horizontal scrolling
Tiny tap targets
Hover-dependent interactions
Desktop-first leads to subtractive design - hiding things on mobile. This wastes bandwidth and creates inferior mobile experiences.
Key point: Adding is easier than removing