Modern Responsive Web Design: Mobile First, Fluid Layouts and Container Queries
How modern websites are built to work on every screen in 2026: mobile first strategy, fluid typography with clamp(), CSS grid, container queries, responsive images in AVIF, and accessible touch design.

Short answer: Modern responsive web design means building a site that adapts smoothly to any screen, starting with the phone and scaling up, using fluid layouts, flexible type and images, and newer CSS tools like container queries. For a small business it boils down to one goal: your site should be as easy to use with a thumb on a small phone as it is with a mouse on a big monitor.
Responsive design is not new, the term dates back to 2010. What has changed is how much of your audience is on mobile and how good the tools have become. For most local businesses, the majority of visits now come from phones, and Google indexes your site based on its mobile version. If the mobile experience is an afterthought, so is your business, as far as many customers are concerned.
Mobile first: what it really means
Mobile first is not just "make sure it works on phones". It is a design and coding philosophy: start with the smallest screen, decide what truly matters, then add layout and extras as space allows. This forces priorities. On a phone you have room for a headline, a short line about what you do, a call button and maybe a trust signal. If that is not compelling, adding a sidebar on desktop will not save it.
Technically, mobile-first CSS writes the base styles for small screens, then uses media queries with min-width to layer on changes for larger screens. Phones download and apply the simplest set of rules, which helps speed.
The modern toolkit, explained without jargon
| Technique | What it does | Why it matters to you |
|---|---|---|
| Fluid layouts (CSS Grid and Flexbox) | Content reflows naturally into columns or stacks | No awkward gaps or squashed text at in-between sizes |
| Fluid typography (clamp) | Text size scales smoothly between a minimum and maximum | Readable headlines on phones without being huge on desktops |
| Responsive images (srcset, sizes, picture) | The browser picks the right image size for the screen | Phones do not download giant desktop images, so pages load faster |
| Container queries | Components adapt to the space they are placed in, not just the screen | A reviews card looks right in a sidebar and in a full-width section |
| Modern viewport units (dvh, svh) | Height calculations account for mobile browser toolbars | Full-height sections do not get cut off on phones |
| Prefers-color-scheme and reduced motion | Respect the user's dark mode and motion settings | Comfort and accessibility for more visitors |
Why container queries are a big deal
For years, responsive design could only react to the size of the whole screen. That caused problems: a service card that looked great in a three-column grid on desktop could look cramped when the same card appeared in a narrow sidebar. Container queries, now supported in all major modern browsers, let each component check the space it actually has and adjust. The result is more robust layouts that do not break when content moves around.
Design for thumbs, not cursors
A mouse pointer is precise. A thumb is not. Experienced designers build for the way people actually hold phones:
- Tap targets of at least 44 to 48 pixels. Buttons and links need room. Accessibility guidance (WCAG 2.2) sets a minimum target size, and comfort guidance from Apple and Google suggests larger.
- Key actions within easy reach. A sticky "Call" or "Book" button near the bottom of the screen is easier to hit than a tiny link in the top corner.
- Click-to-call and tap-to-map. Phone numbers should be tel: links. Addresses should open in maps.
- Short forms. Every extra field on a phone costs completions. Use the right input types so the correct keyboard appears (number pad for phone, email keyboard for email).
- No hover-only menus or content. Phones cannot hover. Anything hidden behind a hover is invisible to most of your visitors.
Built for thumbs, tested on real phones.
Every SiteDrum site is designed mobile first, with tap-to-call, fast images and layouts that work on any screen. Explore our plans.
A worked example: the landscaper whose phone number was hidden
Picture an illustrative landscaping company in Melbourne. On desktop, the homepage had a wide hero photo, a three-column services section and a phone number in the top right. On a phone, the hero photo shrank into a letterbox strip, the three columns stacked into a very long scroll, and the phone number disappeared into a hamburger menu. Most mobile visitors scrolled, got bored and left.
A mobile-first redesign changed priorities:
- A tighter, portrait-friendly hero image with the headline "Garden design and landscaping across south-east Melbourne".
- Two big buttons directly under it: "Call now" and "Get a quote".
- Services shown as compact cards with one line each, linking to full pages.
- Three short reviews, then a gallery of before-and-after photos sized for phones.
- A sticky bottom bar with call and quote buttons as the visitor scrolls.
Nothing about the business changed. The site simply started respecting how its customers were actually browsing.
What most people get wrong
- Designing on a big monitor and "checking mobile" at the end. This produces shrunken desktop sites, not mobile experiences.
- Huge hero images and videos. Autoplay background video is one of the fastest ways to ruin mobile speed and data allowances.
- Tiny text. Body text below 16 pixels on phones strains eyes and can trigger zoom on form fields.
- Pop-ups that cover the screen. Intrusive interstitials frustrate users and Google has warned against them on mobile.
- Testing only on your own phone. Your new iPhone on Wi-Fi is not your customer's older Android on 4G. Test on a range, or use browser device tools and throttling.
- Hiding important content on mobile. Google uses mobile-first indexing. If content is missing on mobile, Google may not count it.
Performance is part of responsive design
A layout that rearranges beautifully but takes six seconds to appear on a phone is not truly responsive. Responsiveness includes adapting what you send, not just how it looks. Experienced developers serve smaller images to small screens, avoid loading desktop-only elements on mobile at all, and keep JavaScript light so taps respond instantly. Modern image formats like WebP and AVIF can be dramatically smaller than old JPEGs at similar quality, and the picture element lets browsers choose the best format they support.
Fonts matter too. Loading four weights of two custom font families can add noticeable delay. One or two well-chosen weights, or a modern system font stack, usually look just as professional. Every decision should pass a simple test: does this help a customer on a phone do what they came to do?
How to test your own site in ten minutes
- Open your site on your phone and try to call you within five seconds of landing. Can you?
- Try the contact form with your thumb only. Is it comfortable?
- Rotate the phone. Does anything break?
- In Chrome on a computer, open developer tools, switch to device mode and drag the width from narrow to wide. Watch for overlapping text or awkward gaps.
- Run the page through PageSpeed Insights and look at the mobile results. Our guide on checking if your website is mobile friendly goes deeper.
Our take
We design every site for the phone first because that is where your customers are. A tradesperson's customer has a burst pipe and a phone in their hand. A restaurant's customer is on the pavement deciding where to eat. A salon's customer is booking on the sofa at 10pm. If the mobile experience is clumsy, nothing else matters. That is why our sites keep layouts simple, images light and calls to action always within thumb reach, and why they typically score around 100 on mobile PageSpeed.
When is a fancy responsive rebuild not worth it? If your current site is already fast, clear and easy to use on phones, polishing container queries will not bring more customers. Spend that effort on content and reviews. And if most of your customers genuinely use desktops, for example some B2B software buyers, the priorities shift, though mobile still needs to work well. For a quick reality check, try our free speed test on your mobile homepage.
Quick checklist
- Phone number is a tap-to-call link visible without scrolling.
- Main call to action is visible on the first mobile screen.
- Body text is at least 16 pixels on phones.
- Buttons and links are large enough to tap easily.
- Images are responsive and sized for mobile.
- No hover-only content or full-screen pop-ups.
- Tested on at least one older Android device or throttled emulator.
The bottom line
Modern responsive design is about putting the phone first and letting the layout grow from there. Use fluid layouts, responsive images and thumb-friendly controls, keep the most important actions in easy reach, and test like a real customer. Do that and your site will feel effortless on every screen, which is exactly what turns visitors into enquiries. If your current site feels clumsy on mobile, read what makes a good small business website for the bigger picture.
Frequently asked questions
What is the difference between responsive and mobile-first design?
Responsive design means the layout adapts to different screen sizes. Mobile first is an approach to building responsive sites: you design and code for the smallest screen first, then add enhancements for larger screens. It tends to produce faster, more focused sites.
What are container queries?
Container queries are a CSS feature that lets a component change its layout based on the size of the space it sits in, rather than the size of the whole screen. They make reusable elements like cards and panels look right wherever they are placed. They are supported in all major modern browsers.
Does Google use the mobile version of my site for rankings?
Yes. Google uses mobile-first indexing, which means it primarily crawls and evaluates the mobile version of your pages. Any content or structured data missing on mobile may not be counted, so the mobile experience should be complete, not a cut-down version.
How big should buttons be on a mobile website?
Aim for tap targets of around 44 to 48 pixels with comfortable spacing between them. WCAG 2.2 sets a smaller accessibility minimum, but larger targets are easier for everyone and reduce mis-taps, especially for important actions like calling or booking.
Should my website use a background video?
Usually not on mobile. Autoplay video adds a lot of weight, slows loading and uses visitors' data, which can hurt both conversions and Core Web Vitals. A single well-chosen, optimised photo almost always does a better job for a small business site.
Want a website that brings you customers?
Tell us what you do on WhatsApp and we will send a fixed quote and a free mockup.
Get my free mockupRelated guides
Our products
Website design near you
Website design in LondonWebsite design in New YorkWebsite design in SydneyWebsite design in BostonWebsite design in Washington DCWebsite design in GenevaWebsite design in PerthWebsite design in GothenburgWebsite design in ChicagoWebsite design in The HagueAll cities →
SiteDrum home · All guides · Sitemap · Contact us
More tech guides
- What Is DNS and Why Does It Matter for My Website?
- How Do I Connect My Domain Name to My Website?
- What Is Website Accessibility and What Is WCAG?
- What Is a Staging Site and Do I Need One?
- How Do I Back Up My Website Properly?
- What Is a Website Builder and Is It Right for My Business?
- Static vs Dynamic Websites: What Is the Difference?
- What Does GDPR Mean for My Small Business Website?