Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Responsive Web Design

Avatar for gpirie gpirie
September 27, 2011

Responsive Web Design

Talk given at Dundee Web Standards group on Responsive Web Design.

Avatar for gpirie

gpirie

September 27, 2011
Tweet

Other Decks in Programming

Transcript

  1. The Web is changing Mobile usage increasing all the time.

    More devices available to buy. Impossible to keep up with the pace of change.
  2. A new approach A new approach is needed that caters

    for all of these devices Impossible to test across all these hundreds of devices and operating systems. A device agnostic approach is required, a responsive approach.
  3. Responsive Design Responsive web design is a philosophy and approach

    which embraces the natural flexibility of the web
  4. The Web is not fixed The web is fluid by

    default – we’ve attempted to make it fixed for years by applying strict constraints. Hangover from print days, by making fixed designs it gives us greater control and eases development.
  5. The Web is not fixed But this flexibility is the

    web’s greatest strength, and we’ve been ignoring it for too long. It’s time to embrace it by creating responsive designs which are as device agnostic as possible.
  6. Responsive Design Responsive web design is a philosophy and approach

    which embraces the flexibility of the web and makes the most of it’s flexibility
  7. Responsive Design != Mobile Design Stop designing for most people,

    and start designing for everyone. Users shouldn’t have to adapt to your site, your site should adapt to them. Large screen and small should be given an optimal experience
  8. Device Agnostic The web hasn’t changed but the way we

    access it has. Make sites which are accessible regardless of the browser or device which is used to access them.
  9. Becoming Responsive Think about what your pages do and not

    what they look like Start with a small screen first and design from the content out.
  10. Becoming Responsive When you’re forced to be simple, you’re forced

    to face the real problem. When you can’t deliver ornament, you have to deliver substance. Decisions made for small screen benefit the larger screen
  11. Becoming Responsive Three key components of responsive design: • Fluid

    Grid • Responsive Images and other media • Media Queries
  12. Responsive Images and Media Images that re-size with the browser.

    HTML5 Video and even flash can become responsive. img, video, object {Max-width: 100%;}
  13. Media Queries @media screen and (max-width: 480px) { background: red;

    } <link rel="stylesheet" href="css/style.css" media="screen and (min-device-width: 768px)" />
  14. Conclusion Responsive design offers a wide range of new possibilities.

    One site accessible anywhere. Can be used today with appropriate fallbacks for older devices/browsers. No reason not to utilise this in development