Creative agency glossaryWeb, UX/UI, and Design

Responsive Web Design

Responsive web design is the method of building a single website whose layout, images and navigation adjust automatically to fit any screen, from a phone to a desktop monitor.

What is responsive web design?

The term comes from a 2010 article by the web designer Ethan Marcotte, who proposed that sites stop being built at one fixed width and start behaving more like water in a container. He named three ingredients, and they still define the method: fluid grids, measured in proportions rather than pixels; flexible images, which scale within their containers; and media queries, the CSS rules that change the design at chosen screen widths.

Before it, brands typically had a desktop site and a separate mobile site, often on an m. address, with different content, different bugs and twice the maintenance. Responsive web design replaced that with one site and one address for every visitor. The toolkit has grown since, with CSS grid, flexbox, container queries and responsive images, but the idea is unchanged.

Why it matters

Why responsive web design matters

It is the baseline expectation of a modern website, and its absence is noticed immediately. Visitors on phones, who make up most of the traffic for most brands, either get a site that fits or a site that fights them. Google indexes the mobile version of every page and recommends responsive design as the simplest way to serve it well. And for the business it means one codebase, one content system and one set of pages to keep current, rather than parallel sites slowly drifting apart, each with its own bugs and its own out-of-date prices.

In practice

How responsive web design works in practice

  1. 01

    The build starts with the viewport meta tag, which tells phones to render the page at their real width. The layout is constructed with CSS grid and flexbox in relative units, so it stretches and reflows rather than breaking. Media queries handle the larger changes, such as navigation that collapses into a menu or a grid that drops from four columns to one. Images are served through srcset and the picture element in several sizes, and video is embedded so that it scales with its container.

  2. 02

    Then the site is tested at every width, not only the common ones, on real phones and tablets as well as desktop browsers, in both orientations. Content is checked too, because editors add the things that break responsive layouts: oversized tables, images without fixed proportions, embeds with hard-coded widths. Templates are designed to absorb those, and the content team is shown what to avoid.

At RIOT

Responsive web design at RIOT

riot.nyc is a WordPress site we design and build ourselves, so its responsive behavior is our own work rather than a theme's default. Much of what it shows is film, and a film page has to hold together on a phone held upright and on a wide studio monitor alike, which is a stricter test of a responsive layout than a page of text ever is.

See the work →

Watch out

What people get wrong about responsive web design

Thinking it is finished at launch. A site is responsive only as long as its content is, and one wide table can undo it. Second, hiding content on mobile to make the layout easier, which also hides it from a search engine that indexes the mobile version. Third, judging it by resizing a desktop browser. Real phones bring touch, slower processors, different fonts and browser toolbars that come and go, and the site has to work with all of them.

Questions

People also ask

Who invented responsive web design?

The term and the method were introduced by Ethan Marcotte in an article for A List Apart in 2010, followed by a book in 2011. He built on earlier work on fluid layouts, but his combination of fluid grids, flexible images and media queries became the standard.

Is responsive web design the same as mobile-friendly?

Responsive web design is one way of being mobile-friendly, and by far the most common. A site could be mobile-friendly through a separate mobile site instead, but that means maintaining two sites, which is why responsive design largely replaced it.

How much does it cost to make an existing site responsive?

It depends on how the site was built. A site on a modern theme may need only adjustments, while an old fixed-width build often costs less to rebuild than to retrofit. An audit of the templates and the content will tell you which you have.

Next to it in the glossary

  1. Product DesignProduct design is the discipline of deciding how a product works, looks and feels, from the problem it solves to the details of its interface, so that it is useful to people and viable for the business.
  2. PrototypingPrototyping is the practice of building early, simplified versions of a design, from paper sketches to clickable mockups, so ideas can be tested and improved before the real thing is built.
  3. Responsive DesignResponsive design is an approach in which a layout adapts fluidly to the screen it is shown on, so the same content works on a phone, a tablet, a laptop and a large display.
  4. Retail DesignRetail design is the design of physical stores and shopping spaces, combining layout, fixtures, lighting, materials, graphics and merchandising so that the space sells and expresses the brand.
  5. RSS FeedAn RSS feed is a machine-readable file that lists a website's latest content, such as articles, episodes or updates, so that other apps and services can collect it automatically.
  6. Secure Sockets Layer (SSL)Secure Sockets Layer (SSL) is the original encryption protocol for securing traffic between a browser and a website, since replaced by TLS, although its name lives on in SSL certificates.

Every Web, UX/UI, and Design term →

In the work

Where it shows up

All our creations →

From the journal

Read around it

The journal →

Talking the talk is one thing

We make the work.

RIOT is a creative agency and production studio in New York. Strategy, brand, film, photography, design and the campaigns that carry them, made by one team. A few lines is enough to start: we read every brief the same day.

    Footage