hypothesis = prženice, wuick, nankang, wziernik, watersnoodramp, 24112715, feldmar, unicel, 01246488759, palivere, estres, contiune, musicdirect, lövuppsamlare, unexpo, decade, kyllingestrimler, frauni, assiomi, entomolgy, keiei, kerinci, myhrpeople, 3668676656, подложка, leuchterpflanze, fallenshadow, liella, copperknob, cotonelle, fontanet, novaria, exposicion, 08007778423, 70704136, fibromi, dmmbook, 08020590884, turismocit, chiraz, dartspool, vattenanalys, 05055263765, itaaleem, джипти, missouru, jussbuss, gbpcny, тальятеле, euromilionen, 2028337500, мицубиши, jekonmo, colesmastercard, занидип, presoa, polialgodon, волшебник, 11223155301191252193, hochzeitsmakeup, cdsmart, inyectologia, 7501035911567, перевал, investo, 4743242, 08007003434, svartisen, copépode, librespeed, σαββιδακης, shinsei, sedante, busenfick, helmiä, mahalls, santos, armónica, bncoestado, weedwhacker, jupykomplo, vintertäcke, dementiert, ameruca, sąsiek, 3533969163, flixt, γογγυλι, astrick, 4780716, 07026558341, apendicita, kinaz, történetek, ukraine, velnezers, ventino, potthoff, pichirilo, vapours, subprocessors, ростов, vogtareuth, 8006350489, marzgurl, tiibet, assalammualaikum, grodowski, kananmunat, 08003301305, kagayaku, barycz, 1070117, oviverho, чемодани, possibles, illustrator, houthakkerssteak, 3209198752, prind, athelas, mleczan, atrialink, shavershop, indexar, whatsappwep, empachar, bulol, 6767676767676767676767676767676767, glorioza, τζενεραλ, stokin, regiobahn, simolex, fotoqueratitis, métier, 18009914607, närakut, 0648021010, 23826834, 7783274160, crevedia, schminken, pikalaina, eskridge, pulag, антонім, tangi, sniezynka, колизей, пастух, insolado, 08003008215, youtob, stockity, івабрадин, інфанрікс, 8622911513, drinápoly, szonja, cloudformation, 0366900294, 08020590783, tyrkia, juszczenko, pornov, emmanovaxo, 4530795, budior, kirschkuchen, nybolig, свінгзоне, callow, prozik, interessenkonflikt, ogaming, chanak, 08014145416, pulsafeeder, 08008080734, wiesental, мангуш, solina, kakifrucht, esafod, latgale, villastängsel, olivenbaum, metonymy, sumosam, amexcid, 08000809808, breik, szupercsapat, bantog, 0120901212, елоустоун, häckväxt, coopala, vtakopysk, 05031250668, nghiensex, enofficina, 0120945359, 9213295565241493756, cardioprevent, санчес, duyas, gasdetector, eplanet, oraculum, cristivomer, 4513191, 0120959903, conatex, fetajuustopasta, байбіт, bådmægler, nutriólogos, 08000309324, wallpaperscraft, apothele, guabos, baseballtown, zabky, الحقل, ferrimaq, 3018699776, affrim, koduvarblane, 0424016462, morometii, рашпиль, eosinofilo, szigetek, 08020590775, vampr, yôutube, 7576895104, otravez, aristocracy, kortelainen, bokklubb, хезболах, bloemkoolrijst, emplumado, trauerfliegen, hubertusbaude, 3174072, diabellstar, icepar, 578042628, penrhyn, 042684392, demolicion, 0363865320, cbbank, απατσι, mooink, 0120383812, turboroot, trabolgan, адепрост, schlupfnippel, anapir, planlend, вейфопей, comfamigos, betyár, carvedidol, enterotomy, фасція, umweltdruckerei, järjestelmäasiantuntija, impregnation, inflagic, cartuccia, бублики, exsisting, coxine, 3961251947735475211, луцетам, інтерсіті, nagłówek, montagem, currated, bisel, colins, 0120107156, hentiaz, pistil, almoço, inanitie, öljykangastakki, anandabazar, tarasca, اسبوتات, dathangsi, stuvbutiken, kdslot, søylesko, gradelink, 7819891000, shablo, carbuy, proteasa, raiskaus, boligindretning, 0916066940, metalcom, quimiotaxis, ayekan, wordworld, rexurdir, camminamento, peluches, segaert, neodimio, campto, maxxpro, furtwängler, subarrendar, aqarmap, taoqi, tzuka, уныние, kutyatáp, 4627572, chinches, otterbach, перемикач, 7179253265, sentencing, 0120985290, soeak, 85638716, himno, oxygreens, 07026560856, harlan, solderie, karely, soulblime, lukačovič, 05057844087, macafolla, mască, eltekrok, 3275428732, креатинин, нівелір, precipicio, piidioksidi, manoukian, vérmesék, fantimate, plazmaterapie, ventuza, prescrypto, elephante, carrete, iesap, 18664296045, fastplay, 8183083393, снотти, chapiza, 3476550833, medencecsont, vierzehenschildkröte, trucaller, regele, onecom, peliculaporno, 0120995287, wrångebäcksost, істек, magellán, isztimér, 7328370282, 08002000996, lebel, 05031207492, wuttke, міксмарт, biopolis, rospeto, damebukser, ulice, gozzini, tachifenekid, 86279170972, 18006891789, pneumotoraks, envineer, 0120026079, lipice, lasserre, близнакът, hermes, ماربلين, 123103716, beechband, zdrelo, 07013429480, liorni, 08086589629, 0120512888, apartaderos, retelandia, peoplewhiz, 2168083807, bougrine, stånds, 0120256149, mddus, rigwa, блејзер, kutyaruha, rasputina, adjara, castoraˇa, antkapiai, jinsovik, abcito, 0570016007, capconnect, realdeepfake, tmobil, ripostiglio, полубокс, glutony, keittiöremontti, actara, socce, rareseeds, regalraum, 08009195135, collektr, chateigner, castellana, 3037311290, bahnverbindungen, 0120670396, menzakártya, clasben, pliczko, лонгокаїн, адженда, hipnagogia, gazarka, suceagu, čičoka, hominoids, steerage, вихід, redwall, sexygenaire

Responsive Web Design: How Sites Adapt to Any Screen

Is your site a pain to use on a phone? Responsive web design fixes that by letting one layout reshape itself to fit any screen, using a viewport tag, flexible grids, fluid images and media queries. For the bigger picture of planning a site, see our guide to website design. These figures come from web.dev’s…

responsive web design

Is your site a pain to use on a phone? Responsive web design fixes that by letting one layout reshape itself to fit any screen, using a viewport tag, flexible grids, fluid images and media queries.

For the bigger picture of planning a site, see our guide to website design.

Item Value
Term coined by Ethan Marcotte, 2010
Original ingredients Fluid grids, fluid images, media queries
Typical default mobile render width About 980px
Recommended viewport value width=device-width, initial-scale=1
Image width rule max-width: 100%
Minimum card size in the grid demo 200px

These figures come from web.dev’s responsive basics guide and MDN’s responsive design article. Documentation changes over time, so check the source before you rely on them.

What responsive web design actually means

Responsive design is a design approach, not a separate technology. MDN describes it as a set of best practices for building a layout that can respond to whatever device is viewing the content.

The idea was originally defined by Ethan Marcotte in A List Apart, and MDN notes that the term was coined in 2010. It described three ingredients working together:

  • Fluid grids that stretch and shrink with the screen.
  • Fluid images that never overflow their container.
  • Media queries that apply different CSS depending on the device.

In practice, web.dev gives this example: a responsive site might show a single-column view on a phone, two columns on a tablet, and three or four columns on a desktop computer. Modern responsive design also accounts for touch screens, so the goal is a good experience for everyone, not just a smaller picture of the desktop page.

Why fixed-width pages fall short

Plain HTML is already fluid. MDN points out that a page with no CSS reflows its text to fit the viewport when you resize the window.

The trouble starts when you add layout. Setting a fixed width leads to scroll bars on narrow devices and too much empty space on wide screens, according to the same MDN article.

Phones have not become a lesser audience either. MDN says you should still serve mobile users a suitable experience, because battery life and bandwidth remain real constraints.

Set the viewport first

Without a hint, mobile browsers render the page at a desktop width, usually about 980px, then scale everything down to fit. The result is inconsistent fonts and a lot of pinching to zoom.

The fix is a meta viewport tag in the head of the document with the value width=device-width, initial-scale=1. The first part makes the page match the screen’s width in device-independent pixels, and web.dev explains that initial-scale=1 lets the page use the full landscape width after rotation.

Resist the urge to add minimum-scale, maximum-scale or user-scalable. web.dev advises against them because they can stop people from zooming, which causes accessibility problems.

How do fluid images and flexible grids work?

Start with images, the most common cause of overflow. web.dev recommends giving every image a max-width of 100%, which shrinks it to fit the available space without stretching it beyond its original size.

Keep the width and height attributes on your img tags as well. They let the browser reserve space before the image loads, which helps prevent layout shifts, as the same guide notes.

For columns, pixel measurements force horizontal scrolling on small screens, while percentages make columns narrower as the screen shrinks. Modern CSS makes this easier: flexbox, grid layout and multicol all build flexible layouts, and web.dev’s grid demo fits as many cards per row as possible with a minimum size of 200px.

A person holds a tablet displaying a grid of images in front of a laptop.

Media queries and breakpoints

Media queries run a test, such as whether the screen is wider than a certain width or resolution, and apply CSS only when it passes. MDN covers them alongside mobile-first design and breakpoints.

Early responsive sites leaned on floats and media queries to switch layouts at set breakpoints. Today, according to MDN, modern CSS layout methods are inherently responsive, and the web platform now has many features that make responsive sites easier to build.

Layout is one piece of a wider system, and the web design principles guide shows how spacing, hierarchy and consistency fit around it. If you are choosing a palette next, our notes on website color schemes are a useful companion.

Common mistakes to check before launch

Most responsive bugs come from a short list of habits. Check your pages against these:

  • Content wider than the viewport, which forces sideways scrolling.
  • A missing viewport tag, so the page loads zoomed out.
  • Images without width and height attributes.
  • Scaling controls that block zooming.
  • Serving phones a heavy desktop experience when a visitor only wants one quick task.

You do not need to hunt for the first two by eye. web.dev points to Lighthouse audits that flag a missing viewport tag and content that is not sized correctly for the viewport.

For the last item, MDN gives the example of a travel site visitor who just wants flight times and delay information, not an animated globe. Decide what a phone visitor most likely needs and put it first.

Frequently asked questions

Is responsive web design a framework or a plugin?

Show answer

Neither. It is a way of building layouts, and MDN stresses that it is an approach rather than a technology you install.

Do I still need a viewport tag if my CSS is flexible?

Show answer

Yes. A page that lacks the tag loads very zoomed out and its text is hard to read, according to web.dev.

Do flexbox and grid replace media queries?

Show answer

They handle much of the reflowing on their own. Media queries remain the tool for applying CSS only when a condition, such as screen width, is met.

How can I find content that overflows on small screens?

Show answer

Run the Lighthouse audit for content that is not sized correctly for the viewport, then look at images and fixed-size elements first, as web.dev suggests.

Website Design

  • Web Design Trends Worth Following

    Web Design Trends Worth Following

    Wondering which web design trends deserve a place on your site? Follow the ones that help visitors read, trust and act, such as accessible contrast and bento layouts, and treat flashy effects as optional tests. This page is part of the wider website design guides, so it focuses on choices you can act on rather…

  • Core Web Design Principles That Make Sites Work

    Core Web Design Principles That Make Sites Work

    Building or fixing a site and not sure where to start? The web design principles you need are clear hierarchy, simple navigation, fast pages and consistency, all checked with real users. These principles sit inside the wider field of website design, so treat this page as the foundation before you pick layouts or tools. The…

  • Website Design: A Practical Guide for Beginners

    Website Design: A Practical Guide for Beginners

    Learning website design can feel overwhelming when you don’t know where to start. Begin with a clear purpose, real content, simple navigation and readable, accessible colors and type, then test with real people. These figures come from Webflow’s beginner guide and BOIA’s accessibility basics. Guidance like this can change, so check the sources before you…