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

Responsive Web Design (reprise)

Andy Croll
January 16, 2012

Responsive Web Design (reprise)

Given at PHP Meetup 11 Jan 2012

Updated slides

Andy Croll

January 16, 2012
Tweet

More Decks by Andy Croll

Other Decks in Technology

Transcript

  1. Who is this idiot? Andy Croll @andycroll CTO at impulseflyer.com

    Designer & Rails Guy (gasp!) Previously wego.com, viki.com & various consulting
  2. We used to get away with it “Best in Internet

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

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

    bloody onswipe thing (although WordPress TwentyEleven is responsive)
  5. 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!!! */ }
  6. The Next 1 Billion People Online Will Be Accessing From

    Their Phones Mobile first There’s advantages in driving your design as well
  7. 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? What to do with images? Javascript? Performance?