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

Responsive Web Design

David Roessli
February 27, 2013

Responsive Web Design

Part 1 of a talk called “Responsive Web Design in theory and practice” that I gave at the Geneva web Group on 27 February 2013

http://doodle.com/uzsxghdcz3ivipg5

David Roessli

February 27, 2013
Tweet

More Decks by David Roessli

Other Decks in Technology

Transcript

  1. GENEVA WEB GROUP • 27 FEBRUARY 2013 We’re faced with

    a greater number of devices, input modes, and browsers than ever before. TODAY
  2. Flexible designs make no assumptions about a browser window’s width,

    and adapt beautifully to devices that have portrait and landscape modes. FLUID GRIDS: adapt beautifully alistapart.com/articles/ uidgrids 24ways.org/2011/theres-no-formula-for-great-designs GENEVA WEB GROUP • 27 FEBRUARY 2013
  3. FLEXIBLE IMAGES GENEVA WEB GROUP • 27 FEBRUARY 2013 img

    { max-width: 100%; } unstoppablerobotninja.com/entry/ uid-images
  4. MEDIA QUERIES GENEVA WEB GROUP • 27 FEBRUARY 2013 www.w3.org/TR/css3-mediaqueries

    <link rel = "stylesheet" type = "text/css" media = "screen" href = "styles.css" />
  5. MEDIA QUERIES GENEVA WEB GROUP • 27 FEBRUARY 2013 www.w3.org/TR/css3-mediaqueries

    <link rel = "stylesheet" type = "text/css" media = "screen" href = "styles.css" />
  6. MEDIA QUERIES GENEVA WEB GROUP • 27 FEBRUARY 2013 www.w3.org/TR/css3-mediaqueries

    <link rel = "stylesheet" type = "text/css" media = "screen and (min-width: 480px)" href = "480.css" />
  7. MEDIA QUERIES GENEVA WEB GROUP • 27 FEBRUARY 2013 www.w3.org/TR/css3-mediaqueries

    @media only screen and (-webkit-min-device-pixel-ratio:1.5) and (min-width:992px), only screen and (min-resolution:144dpi) and (min-width:992px){ … }
  8. MEDIA QUERIES GENEVA WEB GROUP • 27 FEBRUARY 2013 www.w3.org/TR/css3-mediaqueries

    width height device-width device-height orientation aspect-ratio device-aspect-ratio color color-index monochrome resolution scan grid
  9. GENEVA WEB GROUP • 27 FEBRUARY 2013 Fluid grids, exible

    images, and media queries are the three technical ingredients for responsive web design. RESPONSIVE WEB DESIGN
  10. When considering a mobile Web strategy and weighing responsive Web

    design against a separate mobile website, the most important metric is This goes beyond better content organization for smaller screens. Mobile (and desktop) websites should be easily found, easily shared, fast loading, easy to maintain and easy to build on. GENEVA WEB GROUP • 27 FEBRUARY 2013 mobile.smashingmagazine.com/2013/02/14/responsive-web-design-planning-future/ how functional the website is for the user. “
  11. Users need and expect full functionality on their mobile device,

    because they could be using it anywhere, for any reason. CONTENT: everywhere pewinternet.org/Reports/2011/Smartphones/Section-2.aspx GENEVA WEB GROUP • 27 FEBRUARY 2013
  12. URL structure is very important on the Web. Your website

    and its content get shared in many different ways, from different places, on different devices. URL FETICHISM GENEVA WEB GROUP • 27 FEBRUARY 2013
  13. Keep the same page structure and the same URLs, and

    organize the display of the content based on the device. That presents a speci c challenge for responsive design: load time. LOAD FAST GENEVA WEB GROUP • 27 FEBRUARY 2013
  14. •All content and functionality needs to be available for mobile

    users; •URL structure is important; •Load time is important (but it will one day be less of an issue); •Websites need to evolve in an agile way; and new hardware is never far ahead… WHY RWD MAKES SENSE GENEVA WEB GROUP • 27 FEBRUARY 2013
  15. Designing for mobile rst can not only open up new

    opportunities for growth, it can lead to a better overall user experience. MOBILE FIRST GENEVA WEB GROUP • 27 FEBRUARY 2013
  16. •Embrace mobile constraints to focus on key tasks •Prioritize what

    really matters •Use mobile capabilities to innovate CONTENT: think mobile rst GENEVA WEB GROUP • 27 FEBRUARY 2013
  17. •Grid system design should begin with a constraint to build

    its modules •Derive the constraint from your content, not from an imaginary page •Thinks responsively - design effective adaptive layouts that respond to their environment CONTENT: think “content out ” GENEVA WEB GROUP • 27 FEBRUARY 2013
  18. The web’s greatest strength, I believe, is often seen as

    a limitation, as a defect. It is the nature of the web to be exible, and it should be our role as designers and developers to embrace this exibility, and produce pages which, by being exible, are accessible to all. GENEVA WEB GROUP • 27 FEBRUARY 2013 John Allsopp alistapart.com/article/dao 7 April 2000 “ ”