Responsive Design (RD)

Your constantly-updated definition of Responsive Design (RD) and collection of videos and articles.
Be a conversation starter: Share this page and inspire others!

633 Shares
Save

Get 1 Powerful Email Each Week

Join 313,908 subscribers.

What is Responsive Design (RD)?

Responsive design is an approach to web design in which the interface adapts to the device's layout to facilitate usability, navigation and information seeking. Responsiveness is possible thanks to media queries, allowing the design to adjust automatically to the browser space to ensure content consistency across devices, and design elements being sized in relative units (%).

Responsive design has significant benefits, and it's a default for web design to support device switching.

With responsive design, you may:

  • Reach a larger audience: Nowadays, more users access the web through mobile devices, so ensure your mobile User Experience design is well-considered.

  • Save time and development efforts since designers and developers only focus on one design version.

  • Improve SEO, as search engines reward mobile-friendly websites with better search positions.

  • Ensure brand and design consistency across devices, as there is no chance to modify guidelines to fit different design boxes.

Transcript

Why Responsive Design is so Popular

In the early 2010s, designers had to address a historical phenomenon. More users were starting to access web material on handheld devices than on desktops. There were two main design approaches to deal with designing across devices:

  1. Designers could craft several versions of a design optimized for different devices and make each have fixed dimensions (adaptive design approach).

  2. They could work on a single, flexible design that would stretch or shrink to fit the screen (responsive design approach).

Organizations and designers found the benefits of responsive design hard to ignore. Rather than work with absolute units (e.g., pixels) on separate versions, designers focused on just one design and let it flow like a liquid to fill all "containers."

How to Understand the Language of Responsive Design

Responsive design has three core principles:

Fluid Grid System 

Grid systems are aids designers use to build, design, arrange information and make consistent user experiences. In interaction design, multi-column, hierarchical and modular are the most widely-used types of grids.

The principle of a grid is simple: every element occupies the same percentage of space, however large or small the screen becomes, which means that the components can be scaled up and down as the user switches devices.

In this image, you can see that the fixed version of the content has the same width regardless of the device whereas in the fluid version the content fills the available space depending on the device size.

© Interaction Design Foundation, CC BY-SA 4.0


Fluid Images

In responsive design, fluid images are images that scale to fit their container, meaning that when the browser reaches a breakpoint, the image will scale up or down to the current window size. 

© Interaction Design Foundation, CC BY-SA 4.0


For non-photographic images, such as icons, you can use SVG files—these file formats are lightweight, and you can scale them to any resolution without losing quality.

Media Queries and Breakpoints

Media queries are filters that detect the browsing device's dimensions and make your design appear appropriate regardless of the screen size. To aid media queries, you have breakpoints: these are the values where the content of your website will be rearranged to provide the user with the best possible experience.

Media queries and breakpoints go hand in hand, and both can be defined in your CSS style sheets. For designers, a breakpoint is a boundary where the design will change to accommodate the features to the new size. Commonly, designers use three sizes when designing responsive websites: 1024 & upwards, 1023-768, and 767-320 px.

In this image, you can see how the placement of the columns is rearranged depending on the screen real estate available. The content is displayed in one column in the smartphone, two on the tablet and three on the desktop.

© Interaction Design Foundation, CC BY-SA 4.0

Media queries work best with a "mobile first" approach where you define what you want on mobile and then scale up from there. You’ll need to test content to see where breakpoints occur and plan them. Eventually, you may find you can predict breakpoints based on a device's screen resolution.

Best Practices & Considerations for Responsive Design

With responsive design, you design for flexibility in every aspect—images, text and layouts. So, you should:

  1. Assume a "mobile-first" mentality: Whether you start to design from the smallest screen or the desktop version, assuming a mobile-first mentality helps you practice the mobile-first approach, a design principle with simplicity at its core. A mobile-first mentality means prioritizing content, leaving complex graphs and images for the desktop version, and creating fat-finger-friendly tap targets (30px minimum).

  2. Use Scalable Vector Graphics (SVGs). These are an XML-based file format for 2D graphics, which supports interactivity and animations.

  3. Include three or more breakpoints (i.e., design for 3+ devices).

  4. Prioritize and hide content to suit users' contexts of use. Check your visual hierarchy and use progressive disclosure and navigation drawers to give users needed items first. Keep nonessential items (nice-to-haves) secondary.

  5. Aim for minimalism.

  6. Apply design patterns to maximize ease of use for users in their contexts and quicken their familiarity: e.g., the column drop pattern fits content to many screen types.

  7. Aim for accessibility with font sizes/styles. Use contrast and background effectively. Consider learning about typographic scales to harmonize body copy and headlines. As some users rely on screen readers, make all your text "real" instead of text within images. See the following sections for more on accessibility with responsive design.

Responsive design is robust and economical, but its "easy" nature is deceptive. You can still run into difficulties if you use it without caution. For example, it can restrict your control over the design's screen sizes; consequently, if you do not set media queries upfront, the elements could shift independently. Also, it is typical to run into issues with advertisement formats, especially on mobile devices.

Still, responsive design aids great UX since, by default, it requires uniformity, seamlessness, and simplicity in your design efforts. It is SEO-friendly, and the multiple CMS and frameworks, such as WordPress and Bootstrap, make it very cheap to implement.

Responsive Design and Accessibility Standards

The accessibility checklist items in the section above are a starting point, but responsive design has deeper connections to accessibility standards that are worth understanding in full. Three areas are particularly important: text resizing and reflow, touch target sizing, and motion sensitivity.

Text Resizing and Reflow

The Web Content Accessibility Guidelines (WCAG) 2.2 include two success criteria that are directly shaped by responsive design decisions. Success Criterion 1.4.4 (Resize Text) requires that text can be resized up to 200% without loss of content or functionality. Success Criterion 1.4.10 (Reflow) goes further: at 400% zoom, or at a viewport width equivalent to 320 CSS pixels, all content must reflow into a single column without requiring horizontal scrolling.

In practice, Reflow is a responsive design test. A layout built with fluid grids and relative units will typically reflow correctly. A layout that uses fixed pixel widths or hides content at narrow viewports rather than reflowing it is likely to fail. Designers can check for Reflow compliance by setting their browser zoom to 400% and verifying that all content remains accessible in a single column without horizontal scrolling.

This is also relevant to users who are not adjusting zoom for disability reasons. Users on small screens, users with lower-resolution displays, and users reading in bright outdoor conditions all benefit from layouts that reflow cleanly at narrow widths.

Touch Target Sizing

The existing best practice note recommends “fat-finger-friendly tap targets (30px minimum).” WCAG 2.2 is more specific. Success Criterion 2.5.8 (Target Size, Minimum, Level AA) requires that interactive targets are at least 24 by 24 CSS pixels, with sufficient spacing between targets to prevent accidental activation. The Level AAA criterion (2.5.5) recommends a minimum of 44 by 44 CSS pixels for all interactive elements.

The 44px recommendation is not arbitrary. It reflects the average width of an adult fingertip and is consistent with platform guidelines from Apple and Google. In responsive design, touch targets that meet this size on desktop (where a mouse provides precision) may shrink below the minimum on mobile if the layout scales them down proportionally. Designers should specify minimum touch target sizes explicitly in design specifications rather than leaving them to scale with the layout.

Respecting User Motion Preferences

CSS media queries are not limited to screen dimensions. The prefers-reduced-motion media query allows a responsive design to detect whether a user has enabled the “reduce motion” setting in their operating system, and to adjust or eliminate animations accordingly.

This matters for users with vestibular disorders, for whom parallax effects, animated transitions, and auto-playing content can trigger nausea or disorientation. It also matters for users with attention-related conditions, for whom motion can be a significant distraction. WCAG 2.3.3 (Animation from Interactions, Level AAA) recommends that motion triggered by interaction can be disabled.

For designers, this means that any responsive layout that includes animated transitions, scroll-triggered effects, or parallax elements should include a reduced-motion alternative. The simplest approach is to design the no-motion state first and treat animation as a progressive enhancement for users who have not enabled reduced motion.

Responsive Design and SEO: Beyond Mobile-Friendly

The existing content notes that responsive design improves SEO because search engines reward mobile-friendly websites. This is true, but the relationship between responsive design and search ranking is more specific than that framing suggests. Two mechanisms are worth understanding in detail.

Mobile-First Indexing

Since 2019, Google has used mobile-first indexing as its default approach. This means that Google’s crawler primarily uses the mobile version of a page, the version a user on a small screen would see, to determine how the page should be ranked in search results, for all users on all devices.

For responsive design, this is generally straightforward: because the same HTML is served to all devices and the layout adapts via CSS, the content Google sees on mobile is the same as the content it sees on desktop. The risk arises when designers make responsive layout decisions that remove or hide content on mobile that is present on desktop. If a section of content is hidden on mobile using display: none, it may not be indexed by Google, regardless of how prominent it is in the desktop layout.

  • The practical implication is that content priority decisions in responsive design are also SEO decisions. Content that is genuinely important, primary headings, key descriptive text, and calls to action should be present and visible in the mobile layout, not deferred to a desktop-only state.

Cumulative Layout Shift and Core Web Vitals

Google uses a set of performance metrics called Core Web Vitals as ranking signals. One of these metrics, Cumulative Layout Shift (CLS), measures visual instability: the degree to which page elements move unexpectedly as the page loads. A high CLS score indicates that content jumps around as it renders, which is both a poor user experience and a negative ranking signal.

Responsive designs are a common source of layout shift. The most frequent causes are:

  • Images without declared dimensions. When an image loads into a fluid layout without a declared width and height, the browser does not reserve space for it. The surrounding content shifts when the image appears. The fix is straightforward: always declare image dimensions in HTML, even in fluid layouts.

  • Web fonts loading late. If a web font takes time to load, the browser initially renders text in a fallback font and then re-renders it in the correct font. This can cause a visible shift. Using the CSS font-display property, and preloading critical fonts, reduces this effect.

  • Dynamically injected content. Banners, cookie notices, and other elements that are injected into the layout after the initial render push existing content down. Reserving space for these elements in the layout, rather than injecting them into the content flow, eliminates the shift.

CLS is not just an SEO concern. A layout that shifts as it loads is disorienting for all users, and particularly problematic for users with cognitive disabilities or those using screen magnification software, who may lose their place in the content when elements move.

Responsive Design and Dynamic Interfaces

The responsive design principles covered so far, fluid grids, media queries, and breakpoints, assume a relatively stable page: one where the layout adapts to the screen, but the content itself does not change dynamically after load. Modern web interfaces often work differently. Content loads asynchronously, components render conditionally, and layout decisions are made in JavaScript and CSS. These patterns introduce considerations that go beyond traditional responsive design.

CSS-Based vs. JavaScript-Based Responsive Behavior

Responsive behavior can be implemented in two fundamentally different ways, with different consequences for accessibility and SEO.

CSS-based responsiveness uses media queries to show, hide, or rearrange content. The HTML is always present in the document; only its visual presentation changes. This approach is robust: screen readers can access the content regardless of how it is displayed, and search engine crawlers can reliably index it.

JavaScript-based responsiveness conditionally renders components based on screen size or other runtime conditions. A component that is not rendered on mobile is not present in the DOM. It does not exist as far as the browser, screen readers, or crawlers are concerned until the JavaScript runs and creates it.

Neither approach is inherently wrong, but designers and developers need to understand the difference. Content that should be accessible to all users, including screen reader users and search engine crawlers, should be present in the HTML and shown or hidden via CSS, not conditionally rendered into existence by JavaScript.

This distinction also matters for performance. CSS media queries are evaluated by the browser with no additional processing cost. JavaScript that queries the viewport size and makes rendering decisions adds to the work the browser must do before the page is usable, which affects both load time and Core Web Vitals scores.

Hiding Content: display: none vs. Other Approaches

A common responsive pattern is to hide content on certain screen sizes. It is important to understand what “hiding” means in each approach:

  • display: none removes the element from the visual layout and from the accessibility tree. Screen readers will not announce it, and keyboard users cannot reach it. Use this only for content that genuinely should not be available to users on that device — not for content that is merely inconvenient to show.

  • visibility: hidden hides the element visually but preserves its space in the layout. Screen readers will not announce it, and keyboard users cannot reach it. It is rarely the right choice for responsive hiding.

  • Positional or clip-based hiding (moving content off-screen or clipping it to zero size) can make content visually invisible while keeping it in the accessibility tree. This is useful for content that should be available to screen reader users but not visible, such as skip navigation links, but should not be used as a general-purpose responsive hiding technique.

A useful design principle: if content is important enough to include in the desktop layout, it is important enough to be accessible on mobile. If it genuinely does not belong on mobile, consider whether it belongs in the design at all, rather than hiding it.

Responsive Images and Dynamic Loading

Responsive images are a specific area where design decisions have direct consequences for performance, accessibility, and layout stability.

The HTML srcset attribute and the picture element allow browsers to choose the most appropriate image for the current screen size and resolution. A browser on a mobile device downloads a smaller image file; a browser on a high-resolution display downloads a larger one. This reduces data transfer for mobile users and improves load times without compromising visual quality on larger screens.

For accessibility, responsive images still require meaningful alternative text on the img element. The src, srcset, and picture elements change which image file is loaded; they do not affect the alt attribute, which must be set correctly regardless of which variant is served.

For layout stability, all responsive image implementations should include explicit width and height attributes on the img element. Modern browsers use these attributes to calculate an image's aspect ratio before it loads and reserve the correct amount of space in the layout. Without them, the page will experience a layout shift as images load, increasing the CLS score and creating a disorienting user experience.

For further reading: The WCAG 2.2 success criteria referenced in these sections are publicly available at w3.org/TR/WCAG22. Google’s guidance on responsive images, mobile-first indexing, and Core Web Vitals is available at developers.google.com. The MDN Web Docs entries on prefers-reduced-motion, srcset, and the picture element provide practical implementation guidance for developers.

Questions About Responsive Design (RD)?
We've Got Answers!

What is the difference between responsive and adaptive design?

Responsive design and adaptive design are both design “techniques” which designers use to make websites work on different screen sizes, but they do it in different ways.

Responsive design uses a fluid layout that adjusts to any screen size—and the content, images, and elements resize and reposition automatically based on the user’s device. This approach works well because it uses one design that flexes across desktops, tablets, and phones, flowing like a liquid, and most modern websites use this method.

Watch as CEO of Experience Dynamics, Frank Spillers explains important points about responsive design:

Transcript

Adaptive design is different in that designers use fixed layouts designed for specific screen sizes. What happens is the website detects the device and loads a predefined layout that best fits the screen. So, instead of one flexible design, it’s got multiple static layouts for different devices, like desktop, tablet, and mobile.

Watch as CEO of Experience Dynamics, Frank Spillers explains important points about adaptive design:

Transcript

So, the key difference is that responsive design flows to fit any screen, while adaptive design switches between set layouts. Responsive works best for flexibility—great if you want a future-proof, scalable design. Adaptive, though, gives more control over how a site looks on each device, and it’s better if you need custom layouts for specific devices—especially for mobile phones.

How does responsive design improve user experience?

Responsive design improves UX by making websites easy to use on any device—and, done well, it adjusts layouts, images, and text automatically, so users don’t need to zoom or scroll sideways, and makes for a smooth, frustration-free experience.

Another thing is how a responsive website loads faster because it optimizes content for different screens—and faster load times help reduce bounce rates and keep users engaged.

Navigation also improves with responsive design in that menus, buttons, and forms resize and reposition to stay easy to tap and read on smaller screens. From that, then, users can find information quickly without struggling with tiny text or hard-to-click links.

Yet another benefit is consistency—so, a responsive site looks and works the same across all devices, so users feel comfortable and familiar whether they visit from a phone, tablet, or desktop and can trust the brand more into the bargain.

Watch as CEO of Experience Dynamics, Frank Spillers explains important points about responsive design:

Transcript

How does responsive design work?

How responsive design works is by using flexible layouts, images, and CSS media queries to adjust a website’s look based on the screen size. Instead of designers needing to create separate designs for different devices, one design automatically adapts to fit desktops, tablets, and phones, flowing like a liquid to fill each “container” in the best way.

A fluid grid system helps structure the layout, so elements like text, images, and buttons resize and reposition based on screen width, which keeps content readable and accessible without users needing to zoom or scroll sideways.

CSS media queries detect the user’s screen size and apply the right styles—so, for example, a three-column desktop layout may change to one column on a phone for better readability.

Images and videos also scale proportionally or swap for smaller versions to load faster on mobile. What’s more, navigation adjusts, too, with menus turning into hamburger icons for easier use.

The biggest benefit of responsive design lies in how it automates adjustments, so websites work smoothly on any screen, so improving usability and accessibility. You can see this, for, example on Apple’s website.

Watch as CEO of Experience Dynamics, Frank Spillers explains important points about responsive design:

Transcript

What are the main features of responsive design?

Responsive design has several key features that make websites work well on any screen, and they include, first, that a fluid grid system ensures that layouts adjust smoothly. Instead of fixed widths, elements resize proportionally based on screen size, which keeps content nice and structured and readable.

Flexible images and media scale automatically, with large images shrinking on small screens to prevent scrolling issues, while videos adjust to fit different devices.

CSS media queries detect the user’s screen size and apply the right styles. For example, a three-column layout on a desktop might switch to a single-column layout on a phone for better readability.

Adaptive navigation improves usability—so, menus simplify on smaller screens, often turning into a hamburger menu for easy access, and buttons and links resize for touchscreens.

Fast performance matters, too, and responsive sites optimize images and content for mobile, cutting down on load times and improving user experience.

Watch as CEO of Experience Dynamics, Frank Spillers explains important points about responsive design:

Transcript

How do I use CSS media queries for responsive design?

CSS media queries help websites adapt to different screen sizes by applying styles based on the device’s width, height, or resolution—and they make sure that layouts, fonts, and images adjust properly on desktops, tablets, and phones.

To use media queries, start with a default style that works on all screens and then add specific styles for different devices. For example:

css

CopyEdit

/* Default styles for all devices */
body {
font-size: 16px;
background-color: white;
}

/* Styles for tablets (screens smaller than 768px) */
@media (max-width: 768px) {
body {
font-size: 14px;
background-color: lightgray;
}
}

/* Styles for phones (screens smaller than 480px) */
@media (max-width: 480px) {
body {
font-size: 12px;
background-color: lightblue;
}
}

This code changes font size and background color based on screen width.

Media queries also adjust layouts, images, and navigation, and that keeps websites usable and readable on all devices and ensures that websites look good and work smoothly on any screen.

Take our course featuring Responsive Design and everything you need to know about mobile UX.

What are common mistakes in responsive web design?

Many designers of websites make common mistakes in responsive web design, which hurt usability and performance both—and can wreck an otherwise seamless experience. One mistake is not designing for mobile first—some teams build for desktops first and then try to shrink everything for smaller screens, an approach that leads to cluttered layouts and slow load times on mobile.

Another mistake is ignoring touch-friendly design, in that too-small buttons and links make navigation frustrating on phones. Users should be able to tap easily without zooming or misclicking; a big-enough problem when they’re in a calm environment, but far worse if they’re in a potentially stressful or hazardous environment.

Another big problem is to forget to optimize images. Large, uncompressed images slow down mobile loading times, making users leave before the page even loads.

Yet another design fail is how some sites use fixed widths instead of flexible grids, and this makes layouts break on certain screen sizes, leading to awkward scrolling and unreadable text.

Last—but not least—not testing on real devices causes issues because just resizing a desktop browser window doesn’t show real mobile behavior. So, don’t assume you can “shrink and walk” and that everything will be fine with the users: it’s vital to test on actual phones and tablets to ensure a smooth experience.

In an era where mobile comes first in terms of sheer weight of usage (more users access digital solutions on handheld devices rather than “sit-down” computers), it’s never been more important than to tailor things with a mobile-first approach. So, do keep designs mobile-friendly, flexible, and fast—and users happy.

Watch as CEO of Experience Dynamics, Frank Spillers explains important points about responsive design:

Transcript

What is responsive typography?

Responsive typography makes text easy to read on any screen by adjusting size, spacing, and line length based on the device. So, instead of using fixed font sizes, it uses relative units like em, rem, or vw so text scales automatically.

For example, instead of setting a fixed size:

css

CopyEdit

p {
font-size: 16px;
}

A responsive approach uses:

css

CopyEdit

p {
font-size: 2vw; /* 2% of the viewport width */
}

And this makes the text adjust dynamically to different screens.

Responsive typography also improves readability with proper line height, spacing, and contrast—and it’s important for accessible design. Small screens need larger text and more spacing, while desktops can use smaller text with tighter spacing.

CSS media queries help refine typography further:

css

CopyEdit

@media (max-width: 768px) {
p {
font-size: 14px;
}
}

What are some highly cited scientific articles about responsive design?

Almeida, F. (2018). The role of responsive design in web development. ResearchGate. Retrieved February 13, 2025.

Fernando Almeida's 2018 journal article, The Role of Responsive Design in Web Development, explores the significance of responsive web design (RWD) in modern digital environments. Responsive design enables software developers to create web pages that automatically adjust to different screen sizes, ensuring seamless adaptability across various devices. This approach facilitates fast and efficient web page rendering, enhancing user experience on desktops, tablets, and mobile phones. This study aims to examine the key benefits and challenges associated with responsive web design. A quantitative research method was used, involving a survey completed by 181 industry professionals. The collected data helped identify the primary factors driving developers to adopt responsive design, as well as the obstacles they encounter. The findings highlight improved user experience and enhanced accessibility as the most significant advantages. However, challenges such as incompatibility with older browsers, increased loading times, and difficulties in optimizing the user experience were also noted. Additionally, the study reveals that perceptions of responsive design’s pros and cons differ between highly experienced professionals and freelance developers.

Marcotte, E. (2011). Responsive web design. A Book Apart.

Ethan Marcotte coined the term “responsive web design” (RWD) and introduced its core principles in this book. He explains how to use fluid grids, flexible images, and media queries to create websites that adapt seamlessly across devices. This book is a must-read for web designers and developers looking to build user-friendly, future-proof websites.

Earn a Gift, Answer a Short Quiz!

1
2
3
4
1
2
3
4
Question 1
Question 2
Question 3
Get Your Gift

Question 1

What is the goal of responsive design?

1 point towards your gift

  • To create separate, but similarly appealing designs for each device type
  • To improve visual aesthetics for mobile users only
  • To make sure websites work well across various devices and screen sizes

Question 2

What is a core principle of responsive design?

1 point towards your gift

  • Fixed layouts
  • Fluid grid systems
  • Isolated components

Question 3

What role do media queries play in responsive design?

1 point towards your gift

  • They detect device characteristics and apply appropriate styles.
  • They improve graphic design elements for more visible CTA buttons across PC, laptop and mobile devices.
  • They simplify the code for the design despite the device type or size.

All Free IxDF Articles on Responsive Design (RD)

Read full article
10 of Our Favorite Login Screen Examples - Article hero image

10 of Our Favorite Login Screen Examples

Login screens are the first point of contact between a user and an app or website—and they’re vital gateways to brands, whatever their products or services. That’s why it’s so important to create a better login screen—it, quite simply, sets the tone for the user's experience. An engaging, user-frien

Social shares
1.1k
Published
Read Article
Read full article
Responsive Design: Best Practices - Article hero image

Responsive Design: Best Practices

Responsive Design allows people to access content across multiple device resolutions. As more people interact with websites through mobile devices, users now expect websites to be responsive. Here we’ll look at the main principles of responsive design and how it supports accessibility and device-swi

Social shares
1.1k
Published
Read Article
Read full article
Native, Web or Hybrid App: Which One is Better? - Article hero image

Native, Web or Hybrid App: Which One is Better?

Hybrid apps offer versatility across different operating systems, and web apps boast simplicity in development. However, certain users tend to have a better experience on native mobile apps. Since every type of app has different use cases, we will discuss the critical aspects of choosing between nat

Social shares
1.1k
Published
Read Article
Read full article
5 Steps for Human-Centered Mobile Design - Article hero image

5 Steps for Human-Centered Mobile Design

Many businesses start with the end-point in mind; “We need a mobile app or a mobile website!” They do not consider why their users would want it. Having a mobile website or app isn’t the key to success—you must provide value to your users. When you take a user- and task-centered approach to mobile (

Social shares
908
Published
Read Article
Read full article
Your Guide to Hamburger Menus - Article hero image

Your Guide to Hamburger Menus

The hamburger menu—with its three horizontal lines—simplifies website navigation. Not every interface benefits from its use, but it can help in certain scenarios. That’s why it’s vital to understand when it shines and when alternatives might serve users better. So, learn the pros and cons of using t

Social shares
881
Published
Read Article
Read full article
One Size Fits All? Definitely Not in Task-Oriented Design for Mobile & Ubiquitous UX - Article hero image

One Size Fits All? Definitely Not in Task-Oriented Design for Mobile & Ubiquitous UX

In the 1980s and ‘90s, our technology-loving civilization rode the wave of Personal Computing – one computer per person. As computers became smaller and less expensive to produce, every worker—or indeed, every person—could have one at his/her disposal. With the rapid rise of Ubiquitous and Mobile co

Social shares
696
Published
Read Article

Responsive Design: Best Practices

Responsive Design: Best Practices

Responsive Design allows people to access content across multiple device resolutions. As more people interact with websites through mobile devices, users now expect websites to be responsive. Here we’ll look at the main principles of responsive design and how it supports accessibility and device-switching.

"Responsive Design" was first coined by the web designer and developer Ethan Marcotte in his book, Responsive Web Design. It is the default to support device-switching. Users may start interacting with your product or service on a desktop, switch to a phone or a tablet and then switch back. It’s essential to bear this in mind for mobile user experience (UX) design Let's look closely at the key elements of responsive design. Moreover, The Web Content Accessibility Guidelines (WCAG) lay down web responsiveness (called Reflow) as one of the success criteria for accessible content. A responsive site also ranks better in search results and is crucial for Search Engine Optimization (SEO).

What is Responsive Design?

Responsive Web Design (a.k.a. "Responsive" or "Responsive Design") is an approach to design web content that appears regardless of the resolution governed by the device. It’s typically accomplished with viewport breakpoints (resolution cut-offs for when content scales to that view). The viewports should adjust logically on tablets, phones, and desktops of any resolution.

Illustration of different screen sizes and how the layout rearranges itself depending on the size.

In responsive design, you can define rules for how the content flows and how the layout changes based on the size range of the screen.

© Interaction Design Foundation, CC BY-SA 4.0

Responsive designs respond to changes in browser width by adjusting the placement of design elements to fit in the available space. If you open a responsive site on the desktop and change the browser window's size, the content will dynamically rearrange itself to fit the browser window. On mobile phones, the site checks for the available space and then presents itself in the ideal arrangement.

Illustration of water taking the shape of each container: a mug, a teapot, a bottle, a phone and a desktop.

© Stéphanie Walter, CC BY-SA 3.0

The 3 Major Principles of Responsive Design

Three main principles drive responsive design. Other principles may come into play for certain designs, but these three bind all responsive sites:

Fluid Grid System

In print, publishers determine the size of what is displayed (and where) in absolute measures. When the internet arrived, this trend continued, and designers defined websites in pixel sizes.

Illustration of different resolution screens: 720p, 1080p and 4K.

The "p" in “720p” and “1080p” stands for “progressive scan,” and the number refers to the height dimensions of the image in pixels.

© Interaction Design Foundation, CC BY-SA 4.0

For responsive design, the absolute size method doesn't work because devices vary in size. Therefore, responsive design uses relative sizes.

 

Two illustrations side by side, one represents the fixed version of the content has the same width regardless of the device whereas in the other one represents  fluid version the content fills the available space depending on the device size.

In this image, you can see that the fixed version of the content has the same width regardless of the device, whereas in the fluid version, the content fills the available screen space of the device.

© Interaction Design Foundation, CC BY-SA 4.0

Fluid Images

When you use fluid grids to define a layout using relative values (such as percentages), nothing on a layout will have a constant size across all devices. This means that images in your layout will need to be resized for each screen real estate. That's where fluid images enter the picture! Much like water, fluid images take on the size of their container. So, you can create a single image and instruct the browser to scale the image according to the size of the container.

Animation that shows the resizing of an image in different devices.

© Interaction Design Foundation, CC BY-SA 4.0

For non-photographic images, such as icons, you can use SVG files. These file formats are lightweight, and you can scale them to any resolution without quality loss.

Media Queries

Media queries are instructions to alter the site's layout based on certain conditions. For example, a two-column approach might not be practical in the screen real estate of a smartphone.

You can use a media query to instruct the browser to rearrange the screen real estate if the screen size is smaller than a particular size. This specific size at which the layout breaks is called a “breakpoint.”

In this image, you can see how the placement of the columns is rearranged depending on the screen real estate available. The content is displayed in one column on the smartphone, two on the tablet and three on the desktop.

© Interaction Design Foundation, CC BY-SA 4.0

Media queries work best with a "mobile first" approach where you define what you want on mobile and then scale up from there. You’ll need to test content to see where breakpoints occur and plan them. Eventually, you may find you can predict breakpoints based on a device's screen resolution.

Best Practices and Considerations for Responsive Design

With responsive design, you design for flexibility in every aspect—images, text and layouts. So, you should:

  • Take the mobile-first approach—start the product design process for mobile devices first instead of desktop devices.

  • Create fluid grids and images.

  • Prioritize the use of Scalable Vector Graphics (SVGs). These are an XML-based file format for 2D graphics, which supports interactivity and animations.

  • Include three or more breakpoints (layouts for three or more devices).

  • Prioritize and hide content to suit users’ contexts of use. Check your visual hierarchy and use progressive disclosure and navigation drawers to give users needed items first. Keep nonessential items (nice-to-haves) secondary.

  • Aim for minimalism.

  • Apply design patterns to maximize ease of use for users in their contexts and quicken their familiarity: e.g., the column drop pattern fits content to many screen types.

  • Aim for accessibility.

The Take Away

Responsive design is the default approach in web design. It is crucial for accessible and search-engine-optimized experiences. To create responsive designs, UX designers work with fluid grids and images. You must work closely with developers to specify breakpoints and test if they render correctly. 

Best practices for responsive design include the use of a mobile-first approach, with three or more breakpoints, prioritizing or hiding content, minimalism, accessibility and the use of design patterns to enhance the ease of use. 

References and Where to Learn More

To learn more about why responsive web design is important for accessibility, read the WCAG’s success criterion guideline.
Learn more about the mobile-first approach proposed by Luke Wroblewski.

Hero image: © Interaction Design Foundation, CC BY-SA 4.0

39% of Today's Skills Will Change by 2030

The World Economic Forum expects 39% of today's skills to be transformed or become outdated by 2030.

The good news is that jobs in UX / UI design and AI are among the fastest-growing professions globally.

Build Skills That Keep You Relevant

Privacy Settings

By using this site, you accept our Cookie Policy and Terms of Use.
Customize
Accept all

Be the One Who Inspires

People remember who shares great ideas.

Share on:

Academic Credibility — On Autopilot

Don't waste time googling citation formats. Just copy, paste and look legit in seconds.