Responsive Design
An approach where a single interface adapts its layout, typography, and interactions fluidly across mobile, tablet, and desktop screens
Table of Contents
Structure Diagram
Progressive enhancement (min-width)
- Base LayoutSingle column · Core content first
- Media QueriesScale up via min-width
- PerformanceMinimal style overrides on mobile
- Content PriorityTight viewport forces clear hierarchy
Graceful degradation (max-width)
- Base LayoutMulti-column · Dense toolbars
- Media QueriesCollapse down via max-width
- Best FitB2B admin, IDEs, analytics suites
- Watch OutRisk of cramped UI & horizontal overflow
What is Responsive Design?
An approach where a single interface adapts its layout, typography, and interactions fluidly across mobile, tablet, and desktop screens. It is a core concept in Layout & Responsive within UI / UX.
Core Principles
Responsive Design combines fluid grids, flexible media, and media/container queries so one interface delivers an optimal experience across phones, tablets, laptops, and ultrawide displays. Rather than merely shrinking pixels, it adapts navigation patterns, column counts, typography scale, and touch targets to the user's viewport and input modality.
Modern responsive workflows pair breakpoint rules with intrinsic CSS techniques—such as clamp() fluid typography and CSS Grid auto-fit—so layouts scale smoothly at every intermediate width.
Practical Takeaways
- Start mobile-first to enforce hierarchy: Designing for 360–390px viewports first clarifies primary content and CTAs before layering multi-column sidebars via
min-widthqueries. - Design for touch and pointer modalities: Avoid locking critical actions behind hover states, and ensure mobile interactive targets meet at least 44×44px spacing.
- Use
100dvhand safe-area insets: Replace100vhwith100dvhand applyenv(safe-area-inset-bottom)so sticky bars are not clipped by mobile browser chrome or home indicators.
Notable Examples
- Adaptive app shells: Switching from a persistent desktop sidebar to a mobile bottom tab bar or slide-over drawer.
- Fluid hero typography: Scaling display headings smoothly with
clamp(1.5rem, 2.5vw + 1rem, 3rem)without abrupt jumps. - Responsive data tables: Rendering multi-column tables on desktop while transforming each row into a stacked summary card on narrow screens.