Responsive Design in Practice: A Mobile-First Guide to Layouts That Work Everywhere
Responsive design is more than shrinking a desktop layout until it fits a phone. Here is a practical mobile-first approach to breakpoints, grids, typography, and touch targets that produces interfaces that feel native on every screen.

For many products, mobile devices account for a large share of traffic β often the majority. Yet many interfaces are still designed primarily for desktop and then adapted for smaller screens at the end of the process. The result is familiar: cramped layouts, tiny tap targets, horizontal scrolling, and features that are technically present but practically unusable on a phone.
Responsive design aims to create interfaces that work well on any screen size. Done well, it goes beyond making content fit. It adapts layout, hierarchy, and interaction to the context of each device, so users get an experience that feels designed for their screen rather than squeezed onto it.
A mobile-first approach is one of the most effective ways to achieve this.
Why Mobile-First Works
Mobile-first means designing for the smallest screen first, then progressively enhancing the layout for larger screens.
This approach has several advantages. Small screens force you to prioritize. With limited space, you must decide what content and actions matter most. That prioritization often improves the desktop experience as well, because it removes clutter and clarifies hierarchy.
Mobile-first also tends to produce simpler code. Base styles target small screens, and additional styles are added for larger screens as needed. This is generally easier to manage than overriding complex desktop layouts for smaller screens.
Finally, mobile-first aligns with how many users actually access products. Designing for their experience first ensures it receives proper attention rather than being treated as an afterthought.
Prioritize Content
Before designing layouts, decide what matters most on each screen. List the content and actions available, then rank them by importance to users.
On mobile, the most important content and actions should appear first and be easy to reach. Secondary content can appear further down, be collapsed into expandable sections, or be moved to separate screens.
This does not mean removing features from mobile. Users increasingly expect full functionality on their phones. It means organizing content so that the most important elements are immediately accessible and the rest remains available without overwhelming the screen.
Choosing Breakpoints
Breakpoints are the screen widths at which the layout changes. A common approach uses a few standard breakpoints, such as:
- Small: phones, up to around 640 pixels.
- Medium: large phones and tablets, around 768 pixels.
- Large: tablets in landscape and small laptops, around 1024 pixels.
- Extra large: desktops, around 1280 pixels and above.
However, breakpoints should be driven by content, not just devices. The right time to change a layout is when the content starts to look cramped or stretched, regardless of whether that width corresponds to a specific device.
Test your layouts across the full range of widths, not just at the breakpoints. Many layout problems appear at in-between sizes that nobody designed for explicitly.
Fluid Grids and Flexible Layouts
Responsive layouts rely on flexible grids that adapt to the available space. Instead of fixed pixel widths, use relative units and modern layout techniques that allow elements to grow and shrink.
A common pattern is a single-column layout on mobile that expands into multiple columns on larger screens. For example, a set of product cards might display one per row on a phone, two on a tablet, and three or four on a desktop.
Set maximum widths for content containers so layouts do not stretch uncomfortably on very wide screens. Long lines of text, in particular, become difficult to read when they span the full width of a large monitor.
Use consistent spacing scales across breakpoints, adjusting spacing proportionally rather than arbitrarily. Slightly tighter spacing on mobile and more generous spacing on desktop is usually appropriate.
Responsive Typography
Typography needs to adapt as well. Text that looks well proportioned on a desktop may be too large or too small on a phone.
Body text should generally remain at a comfortable reading size β around 16 pixels β across all devices. Smaller body text on mobile is a common mistake that makes content difficult to read.
Headings can scale more significantly. A large headline that works on desktop may need to be reduced on mobile to avoid excessive line breaks. Fluid typography techniques allow text sizes to scale smoothly between minimum and maximum values based on screen width.
Pay attention to line length and line height at each breakpoint to maintain readability.
Touch-Friendly Interactions
Designing for touch requires different considerations than designing for a mouse.
Touch targets should be large enough to tap accurately. A minimum target size of around 44 to 48 pixels is a widely used guideline. Leave enough space between targets to prevent accidental taps.
Hover states do not exist on touch devices. Do not hide important information or actions behind hover interactions, since mobile users may never discover them.
Thumb reach matters on large phones. Place frequently used actions within easy reach of the thumb, often near the bottom of the screen.
Gestures such as swiping can enhance interactions, but should not be the only way to perform an action, since gestures are often not discoverable.
Navigation Across Screen Sizes
Navigation often changes significantly between mobile and desktop. A horizontal navigation bar or sidebar on desktop may become a bottom tab bar or menu on mobile.
Choose mobile navigation patterns that keep the most important destinations visible. Bottom navigation bars work well for apps with a few primary sections. Menus can hold secondary destinations, but hiding all navigation behind a menu reduces discoverability.
Ensure navigation remains consistent in structure across devices, so users who switch between phone and desktop can easily find their way.
Images and Media
Images should scale responsively and load efficiently. Serve appropriately sized images for each screen size, so mobile users do not download unnecessarily large files.
Consider how images are cropped at different aspect ratios. An image that works as a wide banner on desktop may lose important content when cropped for a narrow mobile screen. In some cases, providing different crops for different screen sizes produces better results.
Videos and embedded content should also scale to fit their containers without overflowing.
Forms and Data on Small Screens
Forms and data tables are among the most challenging elements to make responsive.
Forms should use single-column layouts on mobile, with large input fields and appropriate keyboard types for each field. Labels should be visible above inputs.
Data tables with many columns rarely fit on small screens. Options include allowing horizontal scrolling within the table, prioritizing the most important columns, or transforming rows into cards that display key attributes vertically.
Performance Is Part of Responsive Design
A layout that adapts perfectly to a small screen still fails if it takes too long to load. Mobile users are often on slower or less reliable connections, and performance problems are felt far more acutely on a phone than on a desktop with a fast connection.
Keep performance in mind from the start. Compress and appropriately size images, lazy-load media below the fold, and avoid loading large scripts or fonts that are not needed for the initial view. Limit the number of custom font weights, since each one adds to the download.
Watch for layout shifts as content loads. Reserving space for images, ads, and embedded content prevents the page from jumping around while users are trying to read or tap β a frustrating experience that is especially common on mobile.
Measure performance on real mid-range devices and throttled connections, not just on a powerful development machine. What feels instant on a new laptop can feel sluggish on a typical phone, and that gap is where many mobile users decide to leave.
Testing Responsive Designs
Test designs on real devices whenever possible, not just in browser developer tools. Real devices reveal issues with touch interactions, performance, and readability that simulated environments may miss.
Test at many widths, in both portrait and landscape orientations, and with different text size settings. Many users increase text size for readability, which can break layouts that assume fixed text sizes.
Responsive design is not a final step in the design process. It is a way of thinking about layout, content, and interaction from the beginning. Designing mobile-first, prioritizing content, and testing across devices produces interfaces that feel natural wherever users encounter them.