Responsive and Mobile First Thinking
Overview
Responsive design means a layout adapts to fit any screen size. Mobile first means designing from the smallest viewport upward, so the layout works with the least space available before adding anything extra for larger screens.
Why It Matters
Designing desktop first and then squeezing the result down to mobile tends to produce interfaces where mobile feels like an afterthought: cramped navigation, tiny touch targets, and content that only makes sense once you assume a wide screen. Starting from the smallest screen forces every decision to justify itself with the least space available.
Core Principles
- Fluid layout first, fixed breakpoints second. Relative units and flexible grids handle most size changes on their own; breakpoints exist for the moments a layout needs to restructure, not resize.
- Touch targets need real minimum sizes. A button that is easy to click with a mouse cursor can be too small to tap reliably with a finger.
- Every breakpoint is a design decision, not just a CSS rule. What collapses, hides, or restructures at each width should be intentional.
Interactive Demo
Width: 1000px · Breakpoint: Wide
Common Mistakes
- Designing only at desktop width, then discovering layout problems at mobile width late in the process.
- Hiding navigation items at narrow widths without providing any way to reach them, rather than moving them behind a menu.
- Touch targets sized for a mouse cursor rather than a finger, a specific case of the target-size and distance tradeoff known as Fitts's Law: smaller, more distant targets take longer to hit accurately and cause more missed taps.
Related Concepts
- Layout and Grid Systems: the grid a layout restructures around at each breakpoint.
- Spacing and Rhythm: spacing scales often shrink, not just reflow, at narrow widths.
- Forms and Inputs: input sizing has the same touch-target constraints.
Used In Templates
Demonstrated directly in the Landing Page, Small Business and Local Service Site, E-commerce Product Page, E-commerce Storefront, Restaurant and Menu Site, and Job Board and Careers Page templates; see docs/PRD.md section 13.2.
Summary
Mobile first means the smallest viewport is the starting design, not the leftover case. Fluid layout absorbs most size changes; breakpoints handle the moments a layout genuinely needs to restructure, such as collapsing navigation behind a menu.