Skip to content
§
§ · responsive design

Responsive web design. One build. Every viewport.

One responsive build that works on every screen. Fluid type scales, container queries, and WCAG 2.1 AA compliance from day one. Core Web Vitals land green at launch.

Book a call WhatsApp
2,000+
brands shipped
55+
countries served
6
techniques, one build
≤2.5s
LCP by contract

Fluid, not three breakpoints.

The old playbook is obsolete: three fixed breakpoints, a mobile menu, images that shrink between sizes. Modern CSS moved past that.

Fluid type scales with clamp scale smoothly from phone to desktop without breakpoints. Container queries size components to their parent, not the viewport. Logical properties handle RTL automatically. Mobile-first media queries match Google's indexing model.

One build, every viewport. 320px phone to 4K monitor. No mobile-only subdomain. No separate desktop version. No pages that break between sizes.

in short
  • Fluid type with clamp() and container queries, not three breakpoints and pray.
  • Mobile-first media-query strategy matches Google's mobile-first indexing model.
  • One codebase, every viewport (320px to 4K), no mobile-only subdomain, no separate desktop site.
  • Performance budget per Core Web Vitals: LCP < 2.5s on mid-tier mobile, INP < 200ms, CLS < 0.1.
  • Accessibility baked in: WCAG 2.2 AA contrast, focus management, keyboard nav, screen-reader semantics, not a post-launch retrofit.

Six techniques, one build.

technique 01

Fluid type scales (CSS clamp).

Typography scales smoothly between a minimum and maximum size without viewport-width breakpoints. font-size: clamp(1rem, 0.5rem + 2vw, 1.5rem) produces continuous type that reads at every size.

technique 02

Container queries.

Components respond to their parent's width, not the viewport. A product card at 320px wide in a mobile sidebar and 800px wide in a feature strip uses the same component with different layouts. MDN reference.

technique 03

Mobile-first media queries.

Default styles target the smallest screen; @media (min-width) progressively enhances for larger screens. Matches Google's mobile-first indexing model and is structurally easier to maintain than desktop-down.

technique 04

Logical properties.

margin-inline-start, padding-block-end instead of margin-left, padding-bottom. The layout flips correctly for right-to-left languages without rewriting CSS. Critical for international expansion.

technique 05

Responsive images (srcset, AVIF, lazy loading).

<picture> with AVIF + WebP + JPG fallbacks, srcset for resolution variants, explicit width/height to prevent layout shift, loading="lazy" below the fold.

technique 06

CSS Grid + subgrid.

Grid replaces float- and flex-based hacks for 2D layouts. Subgrid (shipped in every browser by 2023) aligns nested grids to a parent's tracks, solving the "cards that line up across columns" problem cleanly.

Green Lighthouse. Compliant at build, not after.

Performance and accessibility are validated at every milestone, not retrofitted after launch.

We use PageSpeed Insights for Core Web Vitals, WAVE for accessibility, and axe DevTools in CI on every PR.

Performance and accessibility are build-time gates. Core Web Vitals (LCP under 2.5s, CLS under 0.1, INP under 200ms) and WCAG 2.1 AA must pass or the code doesn't ship.

Every pull request runs through a performance budget and accessibility lint. The Website Audit tool, Color Contrast Checker, and Heading Outliner are the same ones we use internally.

Three engagement shapes.

A responsive build can be the entire site, a single page, or a retrofit of an existing desktop-first template. The right shape depends on the gap between current and target, not the size of your brand.

We turn down full rebuilds when a retrofit is cheaper, faster, and just as effective.

tier 01

Landing or section

2 weeks. One responsive page or major section. Proof-of-build before a larger rebuild, or one-off campaign page that has to load fast on mobile.

  • · Mobile-first build, fluid type
  • · CWV gate (LCP <2.5s, CLS <0.1)
  • · WCAG 2.1 AA pass
  • · AVIF/WebP image pipeline
  • · Cross-device QA (BrowserStack)
tier 02

Full responsive rebuild

6-10 weeks. Complete rebuild on modern responsive architecture. Right when the existing site predates container queries or Core Web Vitals is structurally broken at the build layer.

  • · Content audit + IA pass
  • · Design system in Figma
  • · Component library (storybook)
  • · CMS migration if needed
  • · Hreflang + multi-locale support
  • · 30-day post-launch CWV monitoring
tier 03

Responsive retrofit

3-5 weeks. Make an existing desktop-first site work on mobile without rebuild. Right when content and brand work but CSS predates 2020. Cheapest path to mobile-first indexing without losing SEO equity.

  • · Existing template audit
  • · CSS rewrite (mobile-first)
  • · Image pipeline modernization
  • · Tap-target + form-label fixes
  • · Lighthouse score >90 mobile

Build mobile. Then enhance.

Mobile-first is not a preference. It matches Google's mobile-first indexing. The mobile rendering is what Googlebot crawls first.

Start with the 320-414px viewport. Layer progressive enhancement up through tablet and desktop.

Desktop-first design shrinks poorly for mobile. Mobile-first forces the right constraints.

If navigation works on a 320px screen, desktop is trivial. If your hero loads in 2.5 seconds on throttled Android, everything else is faster.

step 01
Mobile design first

Design files in Figma at 360px and 768px before any desktop frame. Forces decisions about which content is essential and which is enhancement.

step 02
Component library

Each component built as a standalone unit with container-query rules. Stored in Storybook for review. The site composes from the library, not the other way around.

step 03
Performance budget locked

A budget of total JS (≤200 KB), total CSS (≤80 KB), hero image (≤200 KB AVIF), and font payload (≤50 KB subset). Pull requests that exceed the budget fail CI.

step 04
Cross-device QA

Every page tested on real iPhone SE (smallest still-shipping iOS), iPad, low-end Android, MacBook 13″, and ultrawide via BrowserStack. Throttled 4G profile required to pass.

step 05
CWV + WCAG gate

Final pass through PageSpeed Insights, WAVE, and axe-core. Pages that fail any of LCP/CLS/INP or WCAG AA do not deploy.

Six pitfalls. All preventable.

Six failure modes show up repeatedly: fixed-width components, pixel-based type, mobile-only navigation, tap targets under 44px, forms that break on mobile, and tables that overflow.

Each one is caught in the build phase, not the QA phase. Caught early, it costs nothing. Caught after launch, it costs a redesign.

01 · Fixed-width components

Hard-coded widths in pixels (320px, 1200px) break the moment the parent shrinks. Use percentages, fluid units, or container queries instead.

02 · Hover-only interactions

A dropdown that opens on hover is invisible on touch devices. Every hover behaviour needs a tap-equivalent or it does not exist on mobile.

03 · Tap targets under 48px

WCAG 2.5.5 minimum is 44px; we recommend 48px. Buttons smaller than this fail accessibility AND lose conversion on mobile from accidental missed taps.

04 · Hero image without dimensions

Missing width and height attributes cause layout shift as images load. Single largest source of CLS failures. Set both attributes always.

05 · Desktop-only navigation

A horizontal menu of 8 items has nowhere to go on a 360px screen. Plan the mobile nav before the desktop one; never as an afterthought.

06 · iframes without aspect-ratio

Embedded videos and animations need a parent with explicit aspect-ratio (16/9). Without it, the iframe collapses or jumps. CLS killer.

Six answers.

The questions teams ask most before booking a responsive redesign: breakpoint strategy, container queries vs media queries, accessibility scope, performance budget, testing devices, and pricing.

What is responsive web design in 2026?

Responsive web design means a single codebase that adapts to every screen size and device. No separate mobile and desktop versions. No mobile-only subdomain.

In 2026 the baseline has moved past the old three-breakpoint model. Modern responsive design uses fluid type scales (CSS clamp), container queries (component-level responsiveness independent of viewport), logical properties (for LTR/RTL), and mobile-first media queries that progressively enhance for larger screens.

One build serves a 320px phone, a 1920px monitor, a 3840px TV, and everything in between.

Why is mobile-first design the default now?

Reason one: Mobile traffic exceeded desktop traffic in 2019 for most ecommerce categories and has stayed there. Designing for desktop-first optimizes for the minority.

Reason two: Google switched to mobile-first indexing in 2021. The mobile version of your site is what Google crawls and ranks. A site that is desktop-fast but mobile-slow loses ranking.

Mobile-first enforces the right constraint: if the small screen works, the big screen is easy. The reverse is not true.

How do container queries change responsive design?

Container queries let a component respond to the width of its parent container, not the viewport.

A card component at 400px wide in a sidebar looks different from the same card at 800px wide in a feature section. No viewport media query involved. This unlocks real component reuse across layouts.

Container queries are the biggest responsive-design shift since CSS Grid. All modern browsers support them natively. We use them by default on every project since mid-2024.

How do you hit Core Web Vitals on launch?

Four discipline points baked into the build.

One: Images in AVIF or WebP with width and height attributes set. Lazy loading below the fold (kills CLS and LCP).

Two: Fonts served with font-display: swap, subset to only Latin or Latin+Cyrillic if applicable.

Three: Critical CSS inlined for the first paint. Rest loaded asynchronously.

Four: Third-party scripts (analytics, chat widgets, Klaviyo) deferred or loaded after interaction.

Core Web Vitals targets (LCP under 2.5s, CLS under 0.1, INP under 200ms) are a build-time check, not a post-launch optimization pass.

Do you also ensure WCAG accessibility compliance?

WCAG 2.1 AA is baked in, not audited after. Requirements include:

Color contrast: 4.5:1 for normal text, 3:1 for large text and UI. Tap targets: 48 by 48 pixels minimum. Heading order preserved. Visible focus indicators on every interactive element. Form labels programmatically associated. Alt text on every non-decorative image. Skip-to-content link.

These are requirements of the build, not upgrades.

How long does a responsive rebuild take?

Landing or section: 2 weeks. Single responsive page or major site section.

Full responsive rebuild: 6 to 10 weeks depending on page count and component complexity.

Responsive retrofit: 3 to 5 weeks. Making an existing desktop-first site responsive without full rebuild. This is the right call when the underlying CMS and content architecture are already sound.

One build. Every viewport.

Mobile-first, accessibility-first, and Core Web Vitals budgeted from day one. Written scope and fixed-price quote within 48 hours.

client reviews

What clients say after launch.

Published reviews from our Fiverr profile, reproduced word for word. 397 public reviews across 4 gigs, from clients in 36 countries. Read them all on Fiverr.

Very easy and worth the time and money. You provide what you want, they develop it quickly, edit it as you ask, then deliver a product you are happy with. Communication is free flowing, they take feedback well and implement it. The process feel and looks like what you want at a decent price point.
cryptoadvantage
Canada · $800-$1,000 · 10 days
Un freelance excepcional. Ha entendido mi proyecto al 100% y estoy muy contento con los resultados. Soy un profesional con muchos proyectos a las espaldas y solo puedo decir que merece mucho la pena contar con sus servicios y le llamaré para otros proyectos.
jcamacho9
Spain · $600-$800 · 13 days
Saurab did an excellent job. He understood the requirements quickly and translated them into a high-quality product delivered on time. I’m very happy with the collaboration and look forward to working together on future projects. Excellent Job done!
ahalim1001
Germany · $400-$600 · 11 days
This really streamlined how we manage things internally its simple effective and already prevented a missed renewal
sturlatimo
United States · $200-$400 · 8 days
Everything was delivered exactly as we needed without unnecessary extras just a smooth and professional process from start to finish really met expectations
lorikelijah
United Kingdom · $200-$400 · 8 days
They made the whole process very easy for me even though I am not technical at all they explained things simply without confusing me The website looks professional and gives a lot more trust for my repair business
allegramuse12
United States · $100-$200 · 9 days

Reviews are reproduced as published on Fiverr, captured 2026-08-03. Fiverr shows the buyer's username and country publicly; no other client detail is used here.

Why work with Digital Heroes

Shopify Premier Partner accreditation United Nations Global Marketplace Tier 1 registration Upwork Top Rated Plus status Trustpilot rating from verified client reviews DUNS registered business verification Clutch Top Web Designers 2024 listing GoodFirms verified development company listing DesignRush ranked agency listing Clutch Top 1000 Global B2B Companies listing

115 people across five studios in New York, Delhi, London, Sydney and Lucknow, shipping ecommerce, web, software and mobile work for founder-led brands. Senior engineers only, no account-manager relay, and the same team from kickoff to launch.

  • Shopify Premier Partner, the tier Shopify reserves for agencies with a sustained delivery record on Plus builds
  • Tier 1 registered supplier on the United Nations Global Marketplace, which requires audited company documentation
  • Top Rated Plus on Upwork, the bracket for the top 3% of talent by client outcomes
  • 397 public five-star-weighted reviews across four Fiverr gigs, from clients in 36 countries
  • DUNS verified business, No. 650878346, so procurement can check us before signing
  • Listed by Clutch in Top 1000 Global B2B Companies and Top Web Designers 2024
  • Verified profiles on GoodFirms, DesignRush, Digital.com, AppFutura and TopDevelopers
  • 2,000+ brands built across 55+ countries, with $50M+ in client revenue scaled

Published · Last updated .

Online now

Talk to a Developer Now

Reply