Responsive Web Design

Prof. Keith Andrews

IICM, Graz University of Technology, Austria

Web site:
http://www.iicm.tugraz.at/keith/

Slides:
http://keithandrews.com/talks/2013/maribor2013/

Resources

Online Resources

Separate Mobile (m.) and Desktop Web Sites

m.southwest.com southwest.com

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

Responsive Web Design

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

Responsive web design is a combination of:

  1. Responsive layout: dynamically adjusting the layout to best suit the available window size.
  2. Responsive content: dynamically adjusting embedded media (text, images, videos) to the available space and display charactersistics.
  3. Responsive navigation: e.g. collapsing menus to one Select item.
  4. Responsive input: feature sniffing to selectively add support for features such as location, orientation, tilt, shaking, and touch gestures.

Responsive web design allows a single web site to adapt to a variety of display sizes and devices.

Examples of Responsive Web Sites

Lists of responsive web sites:

Individual examples of responsive web sites:

Breakpoint Diagram

Breakpoint Diagram

Figure 2: A typical breakpoint diagram.

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

1. Responsive Layout

Design a fluid (liquid) layout for each of the widths in the breakpoint diagram:

2. Responsive Content

Structured Text

Provide internel structure to chunks of textual content:

Structured Text for News Stories

<article>
<h1>Title<h1>

<div class="teaser">
<p>Some teaser text...</p>
</div>

<div class="summary">
<p>A concise one-paragraph summary of the story.</p>
</div>

<div class="story">
<p>The full story.</p>
<p>In multiple paragraphs.</p>
<p>Maybe with images.</p>
</div>

</article>

Responsive Text (Paragraphs)

Responsive Tables

Responsive Images

3. Responsive Navigation

4. Responsive Input

Conferences

Videos

Thank You

Prof. Keith Andrews

IICM, Graz University of Technology, Austria

Web site:
http://www.iicm.tugraz.at/keith/

Slides:
http://keithandrews.com/talks/2013/maribor2013/