Responsive web design is an approach where one website’s layout, images and type adapt to the size and capabilities of the screen, so it works well on phones, tablets and desktops alike.

Definition
Responsive web design is the practice of building a single website that rearranges itself to fit whatever screen it is viewed on. Rather than maintaining a separate mobile site, the same HTML is styled with CSS that adjusts columns, spacing, navigation, font sizes and images as the available width changes.
The approach rests on three ideas: fluid grids that size elements in relative units rather than fixed pixels, flexible images and media that scale within their containers, and media queries that apply different styles at different widths. Modern CSS adds tools such as flexbox, grid and container queries that make responsive layouts easier to build and maintain, and mobile first design has become the usual starting point.

How it works
It starts with the viewport meta tag, which tells mobile browsers to render the page at the device’s actual width instead of zooming out a desktop layout. Without it, a phone shows a tiny version of the full desktop page. With it, CSS can respond to the true screen size.
Layouts are then built with flexible units and layout systems. Flexbox handles rows and columns that wrap, CSS grid defines two-dimensional layouts that can change their column count, and relative units such as percentages, rem and viewport units let elements scale. Media queries switch layouts at breakpoints, which are best chosen where the content starts to look cramped rather than at specific device sizes. Container queries go further and let a component adapt to the width of its own container, which is useful in design systems.
Images and media need the same care. The srcset and sizes attributes let the browser download an appropriately sized image for the screen, and the picture element can swap crops for different layouts. Touch targets, readable line lengths and navigation patterns such as collapsible menus complete the picture, and testing on real devices catches issues that resizing a desktop browser misses.
Keep learning
Put it into practice
Research-led product design, prototypes and design systems that make complex software clear, usable and ready to build.
Explore serviceFast, secure and accessible web applications built with React and Next.js, designed for real users and real traffic.
Explore serviceFAQ
Responsive design uses fluid layouts that change continuously as the screen width changes. Adaptive design serves a small set of fixed layouts, picking the closest one for the device. Responsive is the more common approach today because it handles the wide range of screen sizes with one flexible layout.
Mobile first means writing the base styles for small screens and adding media queries that enhance the layout as more space becomes available. It forces the team to prioritize content and tends to produce lighter pages for phones, where bandwidth and processing power are often more limited.
Not always. A responsive site gives mobile users a good browsing experience, but a native app can offer offline use, deeper device integration and a home screen presence. Some teams bridge the gap with a progressive web app before deciding whether a native app is worth building.
Talk to a solution architect about where it fits in your roadmap.
