Responsive Web Design

Prof. Keith Andrews

ISDS, Graz University of Technology, Austria

Web site:
https://isds.tugraz.at/keith/

Slides:
https://keithandrews.com/talks/2019/iaweb-2019-10-11-rwd/

Fri 11 Oct 2019, IAweb, Graz University of Technology.

Responsive Web Design

A single web site design which dynamically responds (adapts) to the characteristics (screen width, resolution, capabilities, ...) of the user's device.

The same web site at the same URL works and provides an appropriate experience across all devices:

Nowadays, web design is responsive web design!

Being Responsive

Responsive web design is a combination of:

Resources

Online Resources

Progressive Enhancement

  1. Build baseline first (HTML only).
  2. Then add styling (CSS).
  3. Then add more interactivity (Javascript).

[as opposed to graceful degradation]

Responsive vs Adaptive vs Separate

  1. Responsive: One URL, serving the same HTML code to all devices. Responsive through CSS and JS.
  2. Adaptive (Dynamic): One URL, server generates different HTML based on device sniffing.
  3. Separate (m.): Separate URLs serving different HTML. HTTP redirect after device sniffing.
Same URLSame HTML
Responsiveyy
Adaptiveyn
Separatenn

Based on Google's definitions:
https://developers.google.com/webmasters/mobile-sites/mobile-seo/

Separate Mobile (m.) and Desktop Web Sites

m.southwest.com southwest.com
Separate mobile (m.southwest.com) and desktop (southwest.com) web sites.

Examples of Responsive Web Sites

Lists of responsive web sites:

Individual examples of responsive web sites:

How Many Sites are Responsive?

ResponsiveAdaptive SeparateN/A
201752%5%17%26%
201636%6%26%32%
201528%4%26%42%

Data from Appticles' State-of-Mobile-Web studies:
https://smashingmagazine.com/2017/03/building-for-mobile-rwd-pwa-amp-instant-articles/

Mobile First

Breakpoint Diagram

Breakpoint Diagram
A typical breakpoint diagram.

Breakpoints

Specifying Breakpoints with CSS3 Media Queries

/* settings for window-width: narrow */ @media only all and (max-width: 40em) { ... } /* settings for window-width: medium */ @media only all and (min-width: 40em) and (max-width: 60em) { ... } /* settings for window-width: wide */ @media only all and (min-width: 60em) { ... }

Responsive Text (Paragraphs)

Responsive Tables

Responsive Images

Responsive Navigation

Responsive Interaction

Conferences

Videos

Thank You

Web site:
https://isds.tugraz.at/keith/

Slides:
https://keithandrews.com/talks/2019/iaweb-2019-10-11-rwd/