Responsive design is building a single website that rearranges itself to fit whatever screen it is viewed on. The same pages and the same address serve a phone, a tablet and a wide monitor; only the layout changes, so columns stack, images shrink and menus collapse when space runs out.
The three ingredients
Ethan Marcotte named the approach in a 2010 article on A List Apart and described three parts that still hold up:
- Fluid layouts. Widths are set in percentages or flexible units instead of fixed pixels, so content stretches and squeezes. Today this usually means flexbox and CSS grid.
- Flexible media. Images and video are told never to exceed their container, typically with
max-width: 100%, and served in several sizes so phones do not download desktop-sized files. - Media queries. CSS rules that change the layout at chosen widths, called breakpoints.
All of it depends on the viewport meta tag, which tells phones to report their real width instead of pretending to be a desktop.
Responsive versus a separate mobile site
Before responsive design caught on, many companies ran a second site at an address like m.example.com. That meant two sets of content to keep in sync and redirects that often broke. Google now indexes the mobile version of a page first and recommends responsive design as the easiest pattern to maintain. Adaptive design, which serves a few fixed layouts based on detected device, is a middle ground that is less common now.
One services page on three screens
On a desktop, a landscaper's services page shows six project photos in a three-by-two grid with a quote form beside them. On a phone the photos become a single column, the form drops below them, the navigation turns into a hamburger menu, and the phone number becomes a tap-to-call button near the top. Nothing is removed; it is reordered for a thumb and a narrow screen.
Why responsive design is no longer optional
For nearly every small business, it matters now. Customers looking up opening hours, directions or prices are often on a phone. If your site needs pinching and zooming, it is not responsive, and fixing that is usually worth more than any visual redesign.
Responsive design mistakes
- Testing only by narrowing a desktop browser. Real phones have touch targets, slow connections and browser toolbars; check on an actual device.
- Hiding content on mobile. If key text only exists on the desktop layout, mobile visitors and Google's mobile crawler miss it.
- Tiny tap targets. Links crammed together are hard to hit with a finger.
- Huge images scaled down with CSS. They look fine but load slowly and hurt Core Web Vitals.
Related terms
- Media queries: the CSS that switches layouts.
- Viewport: the visible area a responsive layout fits into.
- Grid system: the column structure that reflows across screens.
- Core Web Vitals: speed and stability measured on mobile too.