Responsive Design: A Default for Web Design

responsive design allos pplz to access content across multiple device resolutions. as + pplz interact with websites through mobile devices, usrs now expect websites to be responsive. the web content accessibility guidelines (wcag) lay down web responsiveness (called reflo) as 1-odda success criteria for accessible content. a responsive site also ranks better in search results and is crucial for search engine optimization (seo).

“responsive design” was 1st coined by the web designer and developer ethan marcotte onnis book, responsive web design. tis the default to support device switching. usrs may start interacting with yr product or srvc na' desktop, switch to a phone or a tablet and then switch back. let’s look closely atta key essentialisms of responsive design.

wha’ is responsive design?

responsive web design (aka “responsive” or “responsive design”) is a way of developing web content so that the content appears regardless of the resolution governed by the device. it’s typically accomplished by defining viewport breakpoints (resolution cut-offs for when content scales to that view) and making sure the viewports adjust logically on tablets, phones, and desktops of any resolution.

Illustration of different screen sizes and how the layout rearranges itself dep'onna size.

in responsive design, you can define rules for how the content flos and how the layout changes dep'onna 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 essentialisms to fit inna available space. if you open a responsive site onna desktop and then change the browser window’s size, the content will move dynamically to arrange itself (at least in theory) optimally for the browser window. on mobile phones, the site checks for the available space and then presents itself inna 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

3 main principles drive responsive design. course, other principles come into play in certain designs, but these are 3 that bind all responsive sites:

fluid grid system

in print, they determined the size of wha’ ‘d be displayed (and where) in absolute measures. when the internet arrived, this trend continued, and designers defined websites in terms of pixel sizes.

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

the “p” stands for progressive scan, and tis placed w'da h8 dimensions of the image (e.g., 1080p).

© interaction design foundation, cc by-sa 4.0

for responsive design, the absolute size method doesn’t work, cause devices vary in size. ⊢, responsive design is based on relative sizes.

 

Two illustrations side by side, one represents the fixed version of the content has the same width regardless of the device whereas inna other one represents fluid version the content fills the available space dep'onna device size.

in this image, you can see that the fixed version of the content has the same width regardless of the device whereas inna fluid version the content fills the available space dep'onna device size.

© interaction design foundation, cc by-sa 4.0

fluid images

when you use fluid grids to define a layout using relative vals (s'as %ages), nothing na' layout will ‘ve a constant size across all devices. this means'dat images in yr layout will nd'2 be resized for each size. that’s where fluid images enter the picture! much like wata, fluid images take onna size of the container they are in. 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, s'as icons, you can use svg files—these file formats are litew8, and you can scale them to any resolution without losing quality.

media queries

media queries are instructions to alter the site’s layout based on certain conditions. for ex, a two-column approach mite not be practical inna screen real estate offa smartphone.

you can use a media query to instruct the browser to rearrange the screen real estate if the screen size is liler than a pticular size. this specific size at which the layout breaks is called the “breakpoint”.

in this image, you can see how the placement of the columns is rearranged dep'onna screen real estate available. the content is displayed in one column inna smartphone, two onna tablet and 3 onna desktop.

© interaction design foundation, cc by-sa 4.0

media queries work best witha “mobile 1st” approach where you define wha’ you want on mobile and then scale up from there. you’ll nd'2 test content to see where breakpoints occur and plan them. eventually, you may find you can predict breakpoints based na' device’s screen resolution.

best practices and cogitations for responsive design

with responsive design, you design for flexibility in every aspect—images, text and layouts. so, you ‘d:

  • prioritize the use of scalable vector graphics (svgs). these are an xml-based file format for 2d graphics, which supports interactivity and animations.

  • include 3 or + breakpoints (i.e., design for 3+ devices).

  • prioritize and hide content to suit usrs’ contexts. check yr visual hierarchy and use progressive disclosure and navigation drawers t'give usrs needed items 1st. keep nonprimordial items (neat-to-‘ves) 2ndary.

  • aim for minimalism.

  • apply design patterns to maximize ease of use for usrs 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 tis default approach in web design. tis crucial for creating 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 iffey render correctly. 

best practices for responsive design include using a mobile-1st approach, using 3 or + breakpoints, prioritizing/hiding content, minimalism, accessibility na use of design patterns to enh the ease of use. 

references and where to learn +

to learn + bout why responsive web design is primordial for accessibility, read the wcag’s success criterion guideline.
learn + bout the mobile-1st approach proposed by luke wroblewski.

hero image: © interaction design foundation, cc by-sa 4.0

original content at: www.interaction-design.org…
authors:

Share:

Leave a Reply

Your email address will not be published. Required fields are marked *