What Is Responsive Web Design?
Responsive web design adapts one website to available screen space and device capabilities through flexible layouts, media and content-led breakpoints.

Part of our guide: Mobile-Friendly Websites: The Complete Guide for Businesses
Responsive web design is an approach that adapts a website’s layout and media to the available screen and device capabilities. The same core page can present a wide multi-column layout on desktop and a clear single-column flow on a phone.
How responsive design works
Responsive design combines flexible layouts, adaptable media and CSS rules that change presentation when the content needs more or less space.
web.dev’s responsive design basics explains viewport configuration, flexible grids and content-led breakpoints.
Thinking about your own rebuild?
Tell us about your business, your current website and what you would like to improve. We will help you work out the next step.
Use a correct viewport
The viewport setting tells mobile browsers to match the page to the device width. Without it, browsers may simulate a desktop canvas and shrink the result.
Do not disable zoom. People need to enlarge content for accessibility and changing conditions.
Build flexible layouts
Modern CSS grid and flexbox can let columns resize, wrap or change arrangement. Define sensible minimums and maximums rather than forcing one fixed width.
Components should respond to their container, including when used in different templates.
Let media fit the space
Images and video should stay within their containers. Serve suitable sizes, preserve aspect ratios and reserve dimensions to reduce layout movement.
A wide photograph may need focal positioning or alternate crops. Do not allow decorative media to push essential content off screen.
Choose breakpoints from content
A breakpoint is a condition where styles change because the current layout no longer works. Do not target individual phone models.
Resize the design until navigation, text or cards become uncomfortable, then add the rule. Continue testing between standard presets.
Start with constrained layouts
Designing the essential content for a narrow space first can reveal priority and avoid desktop assumptions. Larger screens can then add columns and breathing room without changing meaning.
Mobile-first CSS does not mean mobile users receive a lesser site. The content and functionality should remain equivalent.
Responsive is more than screen width
Devices differ in pointer accuracy, hover capability, orientation, motion preferences and contrast settings. Avoid assuming every large screen uses a mouse or every small screen uses touch.
Use interaction patterns that remain accessible across keyboard, touch, voice and assistive technology.
Content order matters
The source order should make sense before visual rearrangement. CSS can move elements visually, but a conflicting keyboard or reading order creates confusion.
Place important context before actions and preserve meaningful heading hierarchy.
Responsive navigation
Menus can change presentation at narrow widths, but labels and destinations should remain consistent. Ensure expanded menus communicate state and can be closed.
The website navigation guide covers structure and accessible interaction.
Responsive typography
Type can scale within defined limits. Maintain readable body text, line length and spacing. Test long headings and enlarged text.
Avoid fixed-height boxes that clip copy when fonts wrap differently.
Responsive versus adaptive and separate mobile sites
Responsive design uses the same page and adapts layout. Adaptive approaches may use several predefined layouts. Separate mobile sites serve different URLs or content.
Google recommends responsive design as straightforward to implement and maintain in its mobile-first guidance.
Test the outcome
Check continuous widths, real devices, zoom, orientation, keyboards and key tasks. The mobile-friendly testing guide provides a repeatable process.
Responsive code is not successful if the result remains awkward. Use the complete mobile-friendly website guide for content, speed and accessibility criteria.
Flexible layouts, media and breakpoints
Responsive pages usually combine a flexible layout, adaptable media and rules that respond to available space. Flexible layouts use proportions and intrinsic sizing instead of assuming one fixed canvas. Images and video remain within their containers. Media queries alter presentation when the content needs a different arrangement.
Set breakpoints where a component becomes cramped. Test between common device widths as well as at them, because new screen sizes will not always match your presets.
Modern CSS grid and flexbox can often adapt without many explicit breakpoints. A group of cards can wrap when each card would otherwise become too narrow. A grid can create as many columns as fit within a defined minimum. These patterns reduce abrupt changes and cover the widths between common test devices.
Design from content and tasks
Begin with what a visitor must understand and do. On a service page, that may be identifying the offer, checking suitability, reviewing evidence and making contact. Establish a logical source order for that journey before arranging it into columns.
On a wide screen, supporting information can sit beside the main content. On a narrow screen, the same material normally becomes a single sequence. The visual arrangement can change, but the reading and keyboard order should remain meaningful. Avoid using CSS to create a visual order that conflicts with the underlying document.
Place important information where visitors need it and make the rest easy to reach. Clear headings and sensible spacing are more dependable than squeezing everything onto the first screen.
Make typography responsive too
Text needs comfortable size, spacing and line length at every width. A very long desktop line is hard to follow, while an oversized heading can dominate a small phone. Relative units and carefully limited fluid sizing can create smoother transitions.
Test real content, including long page titles, validation messages and words that do not break easily. Allow containers to grow vertically. Truncating important business information simply to preserve equal card heights is rarely a good trade.
Browser zoom and user font preferences are part of responsive behaviour. A robust page continues to work when text is enlarged. Do not disable zoom or use tiny type as a shortcut for fitting more into the viewport.
Handle responsive images responsibly
An image can be visually flexible while still forcing a phone to download an unnecessarily large file. Responsive image markup lets the browser choose an appropriate resource for the rendered size and display density. Compression and modern formats can further reduce transfer size.
Sometimes the crop should change as well as the file size. A wide team photograph may reduce its subjects to tiny figures on a narrow screen. Art direction can provide a closer crop while preserving the same meaning. Always keep informative alternative text aligned with the image’s purpose.
Set intrinsic dimensions or an aspect ratio so the browser can reserve space before the asset arrives. This helps prevent text and controls from shifting while the page loads.
Build responsive components, not only pages
A card, form, navigation menu or comparison table may appear in several contexts. It should adapt to the space provided by its container rather than assuming it always spans the page. Container queries can be useful when a component needs to respond to its own available width.
Define component states deliberately. A navigation menu may be expanded, collapsed, loading or showing a validation problem. Each state needs readable content, accessible controls and enough room for translation or editorial changes.
A shared component library makes responsive behaviour consistent. When the team improves the form field or card pattern once, every page using it benefits. It also gives editors safer building blocks than ad hoc columns and pasted inline styles.
Responsive navigation and interaction
Wide navigation can become a menu control on smaller screens, but all destinations must remain available. Label the control clearly, expose its open or closed state to assistive technology and manage keyboard focus. A menu should not rely on hover.
Touch targets need adequate size and separation. Interfaces designed around a precise mouse pointer can be frustrating when used by thumb. Place repeated or destructive actions carefully so an accidental tap does not have serious consequences.
Account for the on-screen keyboard, browser controls and device safe areas. Fixed-position actions can cover form fields or page content when the usable viewport becomes shorter. Test real interaction instead of judging a static design frame.
Accessibility is part of responsiveness
People adapt pages with zoom, text settings, screen readers, keyboards and orientation changes. Responsive implementation should support those choices. Maintain semantic headings, labels, landmarks and a logical focus order even when the visual arrangement changes.
Do not hide content from a small screen merely because the design feels busy. If information is secondary, structure it well or place it in an accessible disclosure. Mobile users need equivalent access to the details required for a decision.
Test colour contrast, focus visibility and reduced-motion preferences across component states. Reflow testing at high zoom is particularly effective because it exposes assumptions about fixed widths and heights.
Responsive design and search visibility
Using the same page and URL across devices simplifies content ownership and helps keep metadata, links and structured information consistent. Google primarily indexes the mobile presentation, so essential content must be available there.
Responsive design is not an automatic ranking improvement. It supports a usable, accessible and maintainable experience, while search performance still depends on relevance, technical accessibility, content quality and many other signals.
Check that responsive menus and disclosures leave important links present in the rendered page. Ensure images retain appropriate alternative text and that performance work does not delay the main content unnecessarily.
The guides to mobile SEO and mobile website speed explain these two consequences in more detail. Responsive layout supports them, but does not guarantee either outcome without complete content and efficient delivery.
Test and maintain the system
Test at many widths, including the points just before and after a layout changes. Add real devices for touch, keyboard, orientation and performance checks. Complete the site’s important tasks rather than merely inspecting the homepage.
Content changes can reveal new weaknesses. A longer title, additional navigation item or new third-party widget may break a component that passed its original review. Include responsive checks in routine publishing and release processes.
Monitor important tasks and fix problems in the shared components where they start. Repeat the checks as content, devices and user preferences change.
Frequently asked questions
Is every modern website responsive?
Many are, but templates, embeds and untested content can still fail at particular widths.
Does responsive design make a site fast?
Not automatically. It must also serve efficient media, fonts and scripts.
Do I need different content for mobile?
Usually the same useful content should remain available, with presentation and priority adapted to the context.
How many breakpoints are needed?
Only those required by the content and components. There is no universal set.
One website, many contexts
Test how the layout, content order, images and controls adapt together as the screen size and viewing conditions change.
Afterworks builds responsive behaviour into every stage of a website rebuild, from content structure through browser testing.


