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

Responsive Web Design

Andy Croll
September 27, 2011

Responsive Web Design

Given at WebSG • 6th July 2011

A brief primer of responsive web-design

Andy Croll

September 27, 2011
Tweet

More Decks by Andy Croll

Other Decks in Technology

Transcript

  1. We used to get away with it “Best in Internet

    Explorer” 800×600 → 1024×768 Ubiquitous 960px grids
  2. There’s No Need Not just about the tiny pocket screens

    Although I’m as guilty of this as the next designer
  3. It’s not... m.yoursitehere.com A specific touch optimized interface The awful

    bloody onswipe thing (although WordPress TwentyEleven is responsive)
  4. How? @media only screen and (min-width: 768px) { /* Your

    CSS goes here for iPad and up */ } @media only screen and (max-width: 320px) { /* Your CSS goes here for portrait phones */ } @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { /* Retina Display!!! */ }
  5. The Next 1 Billion People Online Will Be Accessing From

    Their Phones Mobile first There’s advantages in driving your design as well
  6. It’s not the only solution But think about the amount

    of work an adaptive or responsive approach is compared to complete re- engineering. Adaptive? Responsive? Flexible grids?