Responsive Web Design

Prof. Keith Andrews

ISDS, Graz University of Technology, Austria

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

Slides:
https://keithandrews.com/talks/2020/2020-01-29-cos-rwd/

Wed 29 Jan 2020, COS, FH Joanneum, Graz.

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 provides an appropriate experience across all devices:

Nowadays, web design is responsive web design!

Being Responsive

Responsive web design is a combination of:

References

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

See:

Responsive vs Adaptive vs Separate

  1. Responsive: One URL, one codebase. Serve the same HTML 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 in 2012.

Examples of Responsive Web Sites

The first responsive web site:

See many other examples here:

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/

We stopped counting in 2017, because almost all (new) web sites are now built responsive.

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: 40rem) {
...
}

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

/* settings for window-width: wide */
@media only all and (min-width: 60rem) {
...
}

Mobile First

Responsive Text (Paragraphs)

Responsive Table Example

Credit Card Statement for Jan 2020
Used Charged Description Branch Location Amount Currency Rate In € Fee Amount €
2020-01-04 2020-01-04 Amazon.de Retail AMAZON.DE 23.09
2020-01-05 2020-01-05 Lieferservice.at Restaurant Amsterdam 20.41
2020-01-07 2020-01-09 Bookstore Retail 7188400820 71.20 USD 1.085687 65.58 0.98 66.56
2020-01-10 2020-01-10 mediamarkt.at Retail Vosendorf 145.00
2020-01-09 2020-01-11 NEW NORTHUMBIA HO Accomodation NEWCASTLE UPO 379.48 GBP 0.851493 445.66 6.68 452.34

Good Table Design

Responsive Table Variants

Responsive Images

Resources:

Individual techniques:

Responsive Navigation

Resources:

Individual techniques:

Responsive Interaction

Conferences

Thank You

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

Slides:
https://keithandrews.com/talks/2020/2020-01-29-cos-rwd/