Build Right: Build Responsively 2014

475203b37527b26e4fb2cc58e6e8493e?s=47 Build Right
February 24, 2014

Build Right: Build Responsively 2014

The deck from the full day Build Right: Build Responsively workshop in Dayton, Ohio on February 24, 2014.

475203b37527b26e4fb2cc58e6e8493e?s=128

Build Right

February 24, 2014
Tweet

Transcript

  1. @bencallahan @jeremyloyd

  2. @hearsparkbox @brworkshop ! @bencallahan @jeremyloyd

  3. #brworkshop

  4. Collaborative note-taking: ! http://bit.ly/1fmWbsG

  5. AN INTRODUCTION TO RESPONSIVE WEB DESIGN RWD 101

  6. September 9, 2007 6:30am

  7. 177% increase in tablet ownership since last year In the

    US... http://bit.ly/YFW4Ai
  8. 80% of consumers multi-task with other devices while watching TV

    In the US... http://bit.ly/YFW4Ai
  9. 26% of consumers own a laptop, tablet & smartphone http://bit.ly/YFW4Ai

    In the US...
  10. The web is not fixed width.

  11. The penetration of desktop & laptop ownership is the same

    today as it was in 2007. http://bit.ly/zE1zgp In the US...
  12. Mobile vs Desktop Browsing 0 500 1000 1500 2000 2007

    2008 2009 2010 2011 2012 2013 2014 2015 Mobile Users Desktop Users http://bit.ly/L5cqiO
  13. 0 500 1000 1500 2000 2007 2008 2009 2010 2011

    2012 2013 2014 2015 Mobile Users Desktop Users http://bit.ly/L5cqiO Not that far away…
  14. Q1 2013 conversions on tablets surpassed conversions on traditional desktops

    http://bit.ly/sNpLte In the US...
  15. Flexibility is the new norm.

  16. People are trying to browse your sites on these devices,

    today.
  17. Responsive web design

  18. Ethan Marcotte ! Article on ALA (http://bit.ly/Wi0xvw) ! Book via

    ABA (http://bit.ly/f6TPB7)
  19. None
  20. RWD 101 ‣ Three Core Techniques - A Fluid Foundation

    - Flexible Content - Media Queries
  21. A Fluid Foundation Honor the proportions of the design by

    creating percentage-based layout instead of fixed-width, pixel-based layout.
  22. 1000px 400px 600px A Fluid Foundation

  23. 1000px 600px A Fluid Foundation

  24. 100% 40% 60% A Fluid Foundation

  25. 100% 40% 60% A Fluid Foundation

  26. Flexible Content Once we have a layout which is based

    on proportions, the content must also respond.
  27. We the People of the United States, in Order to

    form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defense, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America. Flexible Content
  28. We the People of the United States, in Order to

    form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defense, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain Flexible Content
  29. We the People of the United States, in Order to

    form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common (Image) 600px Flexible Content
  30. We the People of the United States, in Order to

    form a more perfect Union, (Image) 600px Flexible Content
  31. Flexible Content http://bit.ly/ZdC8pH We the People of the United States,

    in Order to form a more perfect Union, (Image) 600px
  32. We the People of the United States, in Order to

    form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defense, promote (Image) 100% Flexible Content
  33. Media Queries When our content and our design are no

    longer working in harmony, we need to make a larger shift in layout.
  34. Media Queries 100% 40% 60%

  35. A 100% C 100% B 100% C 40% B 60%

    A 100% Media Queries
  36. Media Queries A 100% C 100% B 100% C 40%

    B 60% A 100%
  37. Checkout: http://microsoft.com http://skinnyties.com

  38. RWD 101 ‣ Three Core Techniques - A Fluid Foundation

    - Flexible Content - Media Queries
  39. http://codepen.io/ bencallahan/details/gsCdL

  40. HOW RWD HAS CHANGED PROCESS RWD WORKFLOW

  41. We used to pretend like things were pretty simple.

  42. fixed width 1024ish 768ish

  43. DESIGN FRONT-END BACK-END LAUNCH! Linear Workflow THINK ABOUT 
 USERS

    THROW IN SOME CONTENT
  44. Slightly Better 
 Linear Workflow CONTENT UX DESIGN FRONT-END BACK-END

    LAUNCH!
  45. Why hello, RWD.

  46. Why hello, tiny browsers.

  47. Why hello, reality.

  48. THIS IS AWESOME, LET’S JUMP IN!

  49. Me too! Ditto! Old Linear Workflow Now with RWD! CONTENT

    UX DESIGN FRONT-END BACK-END LAUNCH!
  50. This doesn’t work.

  51. We need to invite others into the process.

  52. CONTENT UX FRONT-END DESIGN BACK-END “1 Deliverable” Workflow

  53. CONTENT UX FRONT-END DESIGN BACK-END “1 Deliverable” Workflow

  54. CONTENT UX FRONT-END DESIGN BACK-END “1 Deliverable” Workflow

  55. LAUNCH DESIGN FRONT END BACK END CONTENT DECISIONS MADE DECISIONS

    MADE DECISIONS MADE DECISIONS MADE CONTENT UX FRONT-END DESIGN BACK-END
  56. LAUNCH DESIGN FRONT END BACK END CONTENT DECISIONS MADE DECISIONS

    MADE DECISIONS MADE DECISIONS MADE CONTENT UX FRONT-END DESIGN BACK-END UX FRONT-END DESIGN LAUNCH DESIGN FRONT END BACK END CONTENT DECISIONS MADE DECISIONS MADE DECISIONS MADE DECISIONS MADE
  57. CONTENT UX Content, Planning & UX Tools

  58. Content & Planning ‣ Content Audit ‣ Information Architecture ‣

    Content Priority Guides ‣ Content Prototypes ‣ Static Wireframes ‣ Interactive Wireframes
  59. CONTENT & PLANNING Content Audit

  60. CONTENT & PLANNING Information Architecture

  61. CONTENT & PLANNING Content Priority Guides

  62. Write the Content

  63. CONTENT & PLANNING Content Prototypes

  64. CONTENT & PLANNING Static Wireframes

  65. CONTENT & PLANNING Interactive Wireframes

  66. FRONT-END DESIGN ND ! Design in the 
 “1 deliverable”

    workflow
  67. Dissecting Design PRODUCTIVITY TIME

  68. Dissecting Design PRODUCTIVITY TIME

  69. Establish the Aesthetic DISSECTING DESIGN

  70. Solve the Problem DISSECTING DESIGN

  71. “I’ve been amazed at how often those outside the discipline

    of design assume that what designers do is decoration. Good design is problem solving.” ! @veen
  72. Refine the Solution DISSECTING DESIGN

  73. None
  74. Establish the Aesthetic DISSECTING DESIGN

  75. DISSECTING DESIGN ‣ Style Comparisons ‣ Style Tiles ‣ Style

    Prototypes Establish the Aesthetic
  76. Style Comparisons ESTABLISH THE AESTHETIC “I could create an illustration

    or a 3D rendering of what I want my new office to look like, but that doesn’t take advantage of his great ideas. It’s dictation, not collaboration. Instead, I show him a Pinterest board my wife and I created.” ! @danielmall http://danielmall.com/articles/the-post-psd-era/
  77. Style Comparisons ESTABLISH THE AESTHETIC Light vs Dark

  78. Style Comparisons ESTABLISH THE AESTHETIC Flat vs Textured

  79. Style Comparisons ESTABLISH THE AESTHETIC Illustration vs Photography

  80. Style Tiles ESTABLISH THE AESTHETIC

  81. Style Tiles ESTABLISH THE AESTHETIC

  82. Style Tiles ESTABLISH THE AESTHETIC

  83. Style Prototypes ESTABLISH THE AESTHETIC

  84. USE TOOLS YOU ARE COMFORTABLE WITH TO ESTABLISH THE AESTHETIC

    HOW TO DECIDE
  85. Cool, so what  happens next?

  86. Solve the Problem DISSECTING DESIGN

  87. DISSECTING DESIGN ‣ Static Design Tools ‣ Responsive Design Tools

    ‣ HTML/CSS Solve the Problem
  88. Static Design Tools SOLVE THE PROBLEM

  89. Static Design Tools SOLVE THE PROBLEM

  90. Static Design Tools SOLVE THE PROBLEM

  91. Responsive Design Tools SOLVE THE PROBLEM

  92. SOLVE THE PROBLEM Responsive Design Tools

  93. SOLVE THE PROBLEM Responsive Design Tools

  94. SOLVE THE PROBLEM Responsive Design Tools

  95. HTML/CSS SOLVE THE PROBLEM

  96. HTML/CSS SOLVE THE PROBLEM

  97. HTML/CSS SOLVE THE PROBLEM

  98. Layout vs Modules SOLVE THE PROBLEM

  99. Layout vs Modules SOLVE THE PROBLEM

  100. SOLVE THE PROBLEM Atomic Design

  101. None
  102. None
  103. YOU BEST SOLVE PROBLEMS USING TOOLS YOU ARE FLUENT WITH

    HOW TO DECIDE
  104. Refine the Solution DISSECTING DESIGN

  105. DISSECTING DESIGN ‣ Static Design Tools ‣ Design Pairing Refine

    the Solution
  106. DISSECTING DESIGN Don’t Use Static Design Tools to Refine LAUNCH

    DESIGN FRONT END BACK END CONTENT DECISIONS MADE DECISIONS MADE DECISIONS MADE DECISIONS MADE
  107. Don’t Use Static Design Tools REFINE THE SOLUTION

  108. Instead of static design 
 hand-offs, consider
 design pairing REFINE

    THE SOLUTION
  109. REFINE THE SOLUTION Design Pairing

  110. REFINE THE SOLUTION Design Pairing

  111. Design Pairing REFINE THE SOLUTION

  112. Design Pairing REFINE THE SOLUTION

  113. You don’t want to do the long tail more than

    once REFINE THE SOLUTION
  114. The Switching Point REFINE THE SOLUTION

  115. EFFICIENCY IS KEY WHEN REFINING A DESIGN SOLUTION HOW TO

    DECIDE
  116. Establish ! Solve ! Refine ................. Comfort ! ....................... Fluency

    ! ................... Efficiency Guidelines for Selecting Tools
  117. Photo Credit: Jay Maisel

  118. Group improvisation is a challenge. Aside from the weighty technical

    problem of collective coherent thinking, there is the very human, even social need for sympathy from all members to bend for the common result. Bill Evans
  119. Group improvisation is a challenge. Aside from the weighty technical

    problem of collective coherent thinking, there is the very human, even social need for sympathy from all members to bend for the common result. Bill Evans The Problem of the Team
  120. Group improvisation is a challenge. Aside from the weighty technical

    problem of collective coherent thinking, there is the very human, even social need for sympathy from all members to bend for the common result. Bill Evans The Problem of the Individual
  121. Group Improvisation

  122. Individuals

  123. Group improvisation requires individuals on a team to... ! be

    fluent
  124. None
  125. SOLVE THE PROBLEM

  126. Unconscious Incompetence SOLVE THE PROBLEM

  127. Unconscious Incompetence Conscious Incompetence SOLVE THE PROBLEM

  128. Unconscious Incompetence Conscious Incompetence Conscious Competence SOLVE THE PROBLEM

  129. Unconscious Incompetence Conscious Incompetence Conscious Competence Unconscious Competence SOLVE THE

    PROBLEM
  130. Fluency SOLVE THE PROBLEM

  131. Group improvisation requires individuals on a team to... ! be

    humble
  132. Group improvisation requires individuals on a team to... ! be

    empathetic
  133. Fluency Humility Empathy

  134. Teams

  135. None
  136. None
  137. None
  138. None
  139. None
  140. None
  141. Create guidelines instead of rigid process

  142. The amount of process required is inversely proportionate to the

    skill and experience of your team.
  143. Create the perfect, fully-documented, all-encompassing web design and development process.

    ! Or...
  144. Chill out and develop our people.

  145. Invest in people over process

  146. CODE AND PROJECT STRUCTURE SERVING RWD STYLES

  147. SERVING RWD STYLES Major Approaches ‣ Single CSS File ‣

    Multiple CSS Files ‣ Breakpoint Based Partials ‣ Module Based Partials
  148. SERVING RWD STYLES Major Approaches ‣ Single CSS File ‣

    Multiple CSS Files ‣ Breakpoint Based Partials ‣ Module Based Partials CSS PREPROCESSING FTW!
  149. Before any of this stuff will work, you need to

    do this: <!-- html -->
 <meta name="viewport"
 content="width=device-width; 
 initial-scale=1.0;">
  150. And, you should also do this: ! /* CSS */"

    @-webkit-viewport { width:device-width; }" @-moz-viewport { width:device-width; }" @-ms-viewport { width:device-width; }" @-o-viewport { width:device-width; }" @viewport { width:device-width; }"
  151. 30% 50% 100% The Example

  152. SERVING RWD STYLES Major Approaches ‣ Single CSS File ‣

    Multiple CSS Files ‣ Breakpoint Based Partials ‣ Module Based Partials
  153. Single CSS File HTML <link> CSS ! Start with styles

    
 applied to all ! Styles scoped to 
 a media query ! Styles scoped to 
 another media query
  154. Single CSS File /* styles.css */" ! aside { color:

    #333; width: 100%; }"
  155. Single CSS File /* styles.css */" ! aside { color:

    #333; width: 100%; }" ! /* if the viewport width is 40em or greater */"
  156. PAUSE: MEDIA QUERIES

  157. Media Queries <!-- In your HTML -->" ! <link media=”(min-width:

    30em)” ..." ! <link media=”screen and (max-width: 80em)” ..." ! ! ! /* In your CSS */" ! @media (min-width: 30em) { ... }" ! @media screen and (max-width: 80em) { ... }
  158. Media Types <!-- In your HTML -->" ! <link media=”(min-width:

    30em)” ..." ! <link media=”screen and (max-width: 80em)” ..." ! ! ! /* In your CSS */" ! @media (min-width: 30em) { ... }" ! @media screen and (max-width: 80em) { ... }
  159. Media Types all braille, embossed, speech handheld, projection, screen, tv

    print tty http://www.w3.org/TR/CSS21/media.html#media-types
  160. Media Features <!-- In your HTML -->" ! <link media=”(min-width:

    30em)” ..." ! <link media=”screen and (max-width: 80em)” ..." ! ! ! /* In your CSS */" ! @media (orientation: portrait) { ... }" ! @media screen and (color) { ... }
  161. Media Features width, height device-width, device-height orientation aspect-ratio, device-aspect-ratio color,

    color-index, monochrome resolution, scan, grid http://www.w3.org/TR/css3-mediaqueries
  162. Single CSS File HTML <link> CSS ! Start with styles

    
 applied to all ! Styles scoped to a
 media query ! Styles scoped to 
 another media query
  163. Small Viewport Width First HTML <link> CSS ! Smallest styles

    ! Wider styles (mq) ! Even wider styles (mq) ! Super wide styles (mq)
  164. Large Viewport Width First HTML <link> CSS ! Widest styles

    ! Wide styles (mq) ! Narrow styles (mq) ! Very narrow styles (mq)
  165. Single CSS File /* styles.css */" ! aside { color:

    #333; width: 100%; }" ! /* if the viewport width is 40em or greater */"
  166. Single CSS File /* styles.css */" ! aside { color:

    #333; width: 100%; }" ! /* if the viewport width is 40em or greater */" @media (min-width: 40em) {" aside { width: 50%; }" }"
  167. Single CSS File /* styles.css */" ! aside { color:

    #333; width: 100%; }" ! /* if the viewport width is 40em or greater */" @media (min-width: 40em) {" aside { width: 50%; }" }"
  168. Single CSS File /* styles.css */" ! aside { color:

    #333; width: 100%; }" ! /* if the viewport width is 40em or greater */" @media (min-width: 40em) {" aside { width: 50%; }" }" ! /* if the viewport width is 60em or greater */" @media (min-width: 60em) {" aside { width: 30%; }" }
  169. Single CSS File Small Viewport Width First /* styles.css */"

    ! aside { color: #333; width: 100%; }" ! /* if the viewport width is 40em or greater */" @media (min-width: 40em) {" aside { width: 50%; }" }" ! /* if the viewport width is 60em or greater */" @media (min-width: 60em) {" aside { width: 30%; }" }
  170. Single CSS File Large Viewport Width First /* styles.css */"

    ! aside { color: #333; width: 30%; }" ! /* if the viewport width is 60em or less */" @media (max-width: 60em) {" aside { width: 50%; }" }" ! /* if the viewport width is 40em or less */" @media (max-width: 40em) {" aside { width: 100%; }" }
  171. SERVING RWD STYLES Single CSS File ‣ Simple to implement

    ‣ Single request ‣ Doesn’t require a preprocessor ‣ Requires JS to serve large layout to old IE if starting with small layouts ‣ Large sites can be difficult to maintain because of the size of
 the single file
  172. SERVING RWD STYLES Major Approaches ‣ Single CSS File ‣

    Multiple CSS Files ‣ Breakpoint Based Partials ‣ Module Based Partials
  173. Multiple CSS Files HTML <link> ! If this browser is

    less than IE9... and it’s not IE Mobile... and viewport width is at least 40em... <link> ! global.css ! all styles
 linear layout layout.css ! only styles for layout http://adactio.com/journal/4494/
  174. Multiple CSS Files index.html" ! <link href=”global.css” rel=”stylesheet”>" <link href=”layout.css”


    media=”(min-width: 40em)” 
 rel=”stylesheet”>" ! <!--[if (lt IE 9) & (!IEMobile)]>" <link href=”layout.css” rel=”stylesheet”>" <![endif]-->
  175. Multiple CSS Files index.html" ! <link href=”global.css” rel=”stylesheet”>" <link href=”layout.css”


    media=”(min-width: 40em)”
 rel=”stylesheet”>" ! <!--[if (lt IE 9) & (!IEMobile)]>" <link href=”layout.css” rel=”stylesheet”>" <![endif]-->
  176. Multiple CSS Files index.html" ! <link href=”global.css” rel=”stylesheet”>" <link href=”layout.css”


    media=”(min-width: 40em)” 
 rel=”stylesheet”>" ! <!--[if (lt IE 9) & (!IEMobile)]>" <link href=”layout.css” rel=”stylesheet”>" <![endif]-->
  177. Multiple CSS Files index.html" ! <link href=”global.css” rel=”stylesheet”>" <link href=”layout.css”


    media=”(min-width: 40em)”
 rel=”stylesheet”>" ! <!--[if (lt IE 9) & (!IEMobile)]>" <link href=”layout.css” rel=”stylesheet”>" <![endif]-->
  178. Multiple CSS Files index.html" ! <link href=”global.css” rel=”stylesheet”>" <link href=”layout.css”


    media=”(min-width: 40em)”
 rel=”stylesheet”>" ! <!--[if (lt IE 9) & (!IEMobile)]>" <link href=”layout.css” rel=”stylesheet”>" <![endif]-->
  179. Multiple CSS Files global.css" ! aside {" color: #333;" width:

    100%;" } layout.css" ! aside { width: 50%; }" ! @media (min-width: 60em) {" aside { width: 30%; }" }
  180. Multiple CSS Files global.css" ! aside {" color: #333;" width:

    100%;" } layout.css" ! aside { width: 50%; }" ! @media (min-width: 60em) {" aside { width: 30%; }" }
  181. SERVING RWD STYLES Multiple CSS Files ‣ Doesn’t require a

    preprocessor ‣ At least two requests ‣ Requires you to separate layout from other styles ‣ Allows you to start with small layouts and serve a single large layout to old IE without JS - Requests go up if you use multiple MQs
  182. SERVING RWD STYLES Major Approaches ‣ Single CSS File ‣

    Multiple CSS Files ‣ Breakpoint Based Partials ‣ Module Based Partials
  183. Breakpoint Based Partials HTML <link> ! If this browser is

    less than IE9... and it’s not IE Mobile... <link> ! base.css ! all styles/MQ blocks no-mq.css ! MQ styles from base
 without the MQs http://nicolasgallagher.com/mobile-first-css-sass-and-ie/
  184. Breakpoint Based Partials index.html" ! <link href=”base.css” rel=”stylesheet”>" ! <!--[if

    (lt IE 9) & (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->
  185. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  186. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  187. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  188. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  189. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  190. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  191. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  192. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  193. PAUSE: CSS PREPROCESSORS

  194. styles.scss styles.css We write SASS
 (or LESS, Stylus, etc.) Browser

    gets CSS
 (like it always has) PREPROCESSING What is CSS Preprocessing?
  195. The Big Three: LESS, SASS, and Stylus

  196. LESS ‣ Runs on Node.js ‣ Very similar syntax to

    SASS ‣ http://lesscss.org/
  197. LESS syntax Variables are specified with @ symbol ! /*

    .less */" ! @top-variable: 20px;" ! " #header-shadow {" "position: absolute;" " " top: @top-variable;" " }
  198. Stylus ‣ Runs on Node.js ‣ Has a flexible syntax

    - You can omit semi-colons, colons, and braces ‣ http://learnboost.github.com/ stylus/
  199. Stylus Syntax /* .styl */" ! top-variable = 20px" "

    " #main-header" " position absolute" " " top top-variable" ! #footer {" " background: blue" " " border 1px solid #00f;" } Notice the terse, forgiving syntax.
  200. SASS ‣ Runs on Ruby ‣ Has two syntax flavors

    - .scss & .sass ‣ http://sass-lang.com/
  201. SASS Sytax $main-color: blue" ! /* .scss */" #main {"

    color: $main-color;" font-size: 0.3em;" }" ! /* .sass */" #main" color: $main-color" font-size: 0.3em
  202. What’s so cool about preprocessors, anyway?

  203. Nesting /* .css */" ! .food-list {" list-style: none;" }"

    ! .food-list li {" font-size: 1rem; " }" ! .food-list li a {" color: red;" }" ! /* .scss */" ! .food-list {" list-style: none;" li {" font-size: 1rem;" a {" color: red;" }" }" }
  204. Nesting can be abused. /* This is bad. Don’t do

    it. */" ! html body #main div.primary .big-header {" font-size: 2em;" } !
  205. Variables /*.scss*/" $white: rgba(255,255,255,1);" ! /*.less*/" @white: rgba(255,255,255,1);" ! /*.styl*/"

    white = rgba(255,255,255,1);" $black = rgba(0,0,0,1);
  206. Mixins /*.scss*/" ! @mixin border-radius( $value : 10px ) {"

    " -webkit-border-radius: $value;" " -moz-border-radius: $value;" " " " border-radius: $value;" } .btn{" @include border-radius(25px);" }
  207. Mixins ‣ SASS and Stylus both support basic programming like

    loops, if/ else, etc. in mixins. ‣ LESS only offers “guarded mixins.” - I hear this is better with the *new* version...
  208. Sparkbox REM Mixin

  209. Sparkbox REM Mixin /*.scss*/" @include rem(padding, 0.5, 1, 4, 3);"

    @include rem(font-size, 1.2, large);
  210. Compass & Bourbon ‣ Compass and Bourbon are mixin libraries

    for SASS ‣ Takes care of vendor prefixes with mixins ‣ Compass has an ecosystem of plugins built on top of Compass ‣ With config.rb, Compass lets you check the preprocessor config into source control
  211. Compass & Bourbon

  212. Importing ‣ Allows you to break up your styles across

    files - variables, mixins, reset, all separated ‣ Better than a standard css import
  213. Importing this file will compile to base.css /* base.scss */"

    ! @import "compass";" @import "variables";" @import "reset";" @import "mixins";" @import "header";" @import "hero";" @import "whatever";
  214. CSS PREPROCESSORS Resources Codekit http://incident57.com/codekit/

  215. CSS PREPROCESSORS Resources Scout http://mhs.github.com/scout-app/

  216. CSS PREPROCESSORS Resources Compass http://compass-style.org/

  217. CSS PREPROCESSORS Resources SASS Primer http://thesassway.com/beginner/getting- started-with-sass-and-compass

  218. Breakpoint Based Partials base.css" ! aside { color: #333; width:

    100%; }" @media (min-width: 40em) {" aside { width: 50%; }" }" @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { width: 50%; }" aside { width: 30%; }
  219. _40em.scss" ! aside { width: 50%; } Breakpoint Based Partials

    base.scss" ! @import “smallest”;" @media (min-width: 40em) {" @import “40em”;" }" @media (min-width: 60em) {" @import “60em”;" } no-mq.scss" ! @import “40em”;" @import “60em”; _60em.scss" ! aside { width: 30%; } _smallest.scss" ! aside { color: #333;
 width: 100%;}
  220. SERVING RWD STYLES Breakpoint Based Partials ‣ Allows you to

    start with small layouts and serve large layout to old IE without JS ‣ Only 1 or 2 requests ‣ Requires preprocessor ‣ Maintenance can be complex
  221. SERVING RWD STYLES Major Approaches ‣ Single CSS File ‣

    Multiple CSS Files ‣ Breakpoint Based Partials ‣ Module Based Partials
  222. HTML If < IE9 and not IE Mobile <link> !

    If >= IE9 or IE Mobile or not IE <link> Module Based Partials no-mq.css ! All styles with no MQs ! ! mq.css ! All styles with MQs http://seesparkbox.com/foundry/ structuring_and_serving_styles_for_older_browsers
  223. Module Based Partials index.html" ! <!--[if (lt IE 9) &

    (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->" ! <!--[if (gte IE 9) | (IEMobile)]><!-->" <link href=”mq.css” rel=”stylesheet”>" <!--<![endif]-->
  224. Module Based Partials index.html" ! <!--[if (lt IE 9) &

    (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->" ! <!--[if (gte IE 9) | (IEMobile)]><!-->" <link href=”mq.css” rel=”stylesheet”>" <!--<![endif]-->
  225. Module Based Partials index.html" ! <!--[if (lt IE 9) &

    (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->" ! <!--[if (gte IE 9) | (IEMobile)]><!-->" <link href=”mq.css” rel=”stylesheet”>" <!--<![endif]-->
  226. Module Based Partials index.html" ! <!--[if (lt IE 9) &

    (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->" ! <!--[if (gte IE 9) | (IEMobile)]><!-->" <link href=”mq.css” rel=”stylesheet”>" <!--<![endif]-->
  227. Module Based Partials index.html" ! <!--[if (lt IE 9) &

    (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->" ! <!--[if (gte IE 9) | (IEMobile)]><!-->" <link href=”mq.css” rel=”stylesheet”>" <!--<![endif]-->
  228. Module Based Partials index.html" ! <!--[if (lt IE 9) &

    (!IEMobile)]>" <link href=”no-mq.css” rel=”stylesheet”>" <![endif]-->" ! <!--[if (gte IE 9) | (IEMobile)]><!-->" <link href=”mq.css” rel=”stylesheet”>" <!--<![endif]-->
  229. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  230. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  231. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  232. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  233. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  234. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  235. Module Based Partials mq.css" ! aside { color: #333;
 width:

    100%; }" ! @media (min-width: 40em) {" aside { width: 50%; }" }" ! @media (min-width: 60em) {" aside { width: 30%; }" } no-mq.css" ! aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  236. Module Based Partials mq.scss" ! @import “compass”;" @import “sb-media”;" !

    @import “aside”;" @import “nav”;" @import “footer”;" ... no-mq.scss" ! @import “compass”;" @import “sb-media”;" ! $sb-no-mq-support: true;" ! @import “aside”;" @import “nav”;" @import “footer”;" ...
  237. Module Based Partials mq.scss" ! @import “compass”;" @import “sb-media”;" !

    @import “aside”;" @import “nav”;" @import “footer”;" ... no-mq.scss" ! @import “compass”;" @import “sb-media”;" ! $sb-no-mq-support: true;" ! @import “aside”;" @import “nav”;" @import “footer”;" ...
  238. Module Based Partials mq.scss" ! @import “compass”;" @import “sb-media”;" !

    @import “aside”;" @import “nav”;" @import “footer”;" ... no-mq.scss" ! @import “compass”;" @import “sb-media”;" ! $sb-no-mq-support: true;" ! @import “aside”;" @import “nav”;" @import “footer”;" ...
  239. Module Based Partials mq.scss" ! @import “compass”;" @import “sb-media”;" !

    @import “aside”;" @import “nav”;" @import “footer”;" ... no-mq.scss" ! @import “compass”;" @import “sb-media”;" ! $sb-no-mq-support: true;" ! @import “aside”;" @import “nav”;" @import “footer”;" ...
  240. Module Based Partials _aside.scss" ! ! aside {" color: #333;

    width: 100%;" ! @include sb-media(40em) {" width: 50%; }" ! @include sb-media(60em) {" width: 30%; }" }
  241. Module Based Partials _aside.scss" ! ! aside {" color: #333;

    width: 100%;" ! @include sb-media(40em) {" width: 50%; }" ! @include sb-media(60em) {" width: 30%; }" }
  242. Module Based Partials _aside.scss" ! ! aside {" color: #333;

    width: 100%;" ! @include sb-media(40em) {" width: 50%; }" ! @include sb-media(60em) {" width: 30%; }" } $sb-no-mq-support: true; aside { color: #333;
 width: 100%;" width: 50%;" width: 30%; }
  243. Module Based Partials $no-mq-support: false !default;" $serve-to-nomq-max-width:60em;" ! @mixin sb-media($query)

    {" @if $no-mq-support{" @if $query < $serve-to-nomq-max-width {" @content;" }" } @else {" @media ( 'min-width:' + $query ) {" @content;" }" }" }" https://github.com/sparkbox/SB-Media
  244. https://github.com/sparkbox/SB-Media

  245. https://github.com/Team-Sass/breakpoint

  246. SERVING RWD STYLES Module Based Partials ‣ Single Request ‣

    Easy Maintenance ‣ Allows you to start with small layouts and serve large layout to old IE without JS ‣ Requires Preprocessor
  247. This is so much more natural.

  248. THERE IS NO
 BREAKPOINT

  249. There is no Breakpoint aside {" // general styles" !

    // major shift at 40em" // major shift at 60em" ..." } aside {" // general styles" ! // major shift at 40em" // minor tweak at 42em" // minor tweak at 53.5em" // minor tweak at 56em" // major shift at 60em" // minor tweak at 72.2em" // minor tweak at 74em" ..." }
  250. There is no Breakpoint aside {" // general styles" !

    // major shift at 40em" // major shift at 60em" ..." } aside {" // general styles" ! // major shift at 40em" // minor tweak at 42em" // minor tweak at 53.5em" // minor tweak at 56em" // major shift at 60em" // minor tweak at 72.2em" // minor tweak at 74em" ..." }
  251. There is no Breakpoint Media Query Bookmarklet
 (by @robtarr)

  252. There is no Breakpoint

  253. Relax.

  254. Think more modularly. ! Try something like SMACSS (from @snookca).

  255. Element Queries http://www.xanthir.com/b4PR0

  256. Responsive Elements https://github.com/kumailht/responsive-elements

  257. http://seesparkbox.com/foundry/there_is_no_breakpoint There is no Breakpoint http://www.markboulton.co.uk/journal/theinbetween The In-Between http://www.jordanm.co.uk/post/43147197731/the-in-between The

    In-Between (2)
  258. Discussion ‣ How are you serving RWD 
 styles today?

    ‣ How do you “support” older IE?
  259. MAKING EVERYTHING FLUID CREATING
 FLEXIBILITY

  260. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  261. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  262. It starts with the grid

  263. It starts with the grid body {" width: 100%;" }"

    ! div.main {" width: 70%;" }" ! aside {" width: 28%;" } body {" width: 1000px;" }" ! div.main {" width: 700px;" }" ! aside {" width: 280px;" }
  264. It starts with the grid body {" width: 100%;" }"

    ! div.main {" width: 70%;" } target / context = % 700 / 1000 = .7 .7 = 70% body {" width: 1000px;" }" ! div.main {" width: 700px;" }
  265. It starts with the grid body {" width: 100%;" }"

    ! aside {" width: 28%;" } target / context = % 280 / 1000 = .28 .28 = 28% body {" width: 1000px;" }" ! aside {" width: 280px;" }
  266. Responsive grid systems

  267. CREATING FLEXIBILITY RWD Grid Systems ‣ Foundation ‣ Bootstrap ‣

    Skeleton ‣ Responsive.gs ‣ Columnal ‣ ...this list goes on, and on, and on
  268. CREATING FLEXIBILITY Semantic RWD Grid Systems ‣ Semantic.gs ‣ Susy

    ‣ Zen Grids
  269. Semantic.gs @column-width: 60;" @gutter-width: 20;" @columns: 12;" @total-width: 100%;" !

    header { @include column(12); }" article { @include column(12); }" aside { @include column(12); }" ! @media (min-width: 38em) {" article { @include column(8); }" aside { @include column(4); }" }
  270. Semantic.gs @column-width: 60;" @gutter-width: 20;" @columns: 12;" @total-width: 100%;" !

    header { @include column(12); }" article { @include column(12); }" aside { @include column(12); }" ! @media (min-width: 38em) {" article { @include column(8); }" aside { @include column(4); }" }
  271. Semantic.gs @column-width: 60;" @gutter-width: 20;" @columns: 12;" @total-width: 100%;" !

    header { @include column(12); }" article { @include column(12); }" aside { @include column(12); }" ! @media (min-width: 38em) {" article { @include column(8); }" aside { @include column(4); }" }
  272. Semantic.gs @column-width: 60;" @gutter-width: 20;" @columns: 12;" @total-width: 100%;" !

    header { @include column(12); }" article { @include column(12); }" aside { @include column(12); }" ! @media (min-width: 38em) {" article { @include column(8); }" aside { @include column(4); }" }
  273. Semantic.gs @column-width: 60;" @gutter-width: 20;" @columns: 12;" @total-width: 100%;" !

    header { @include column(12); }" article { @include column(12); }" aside { @include column(12); }" ! @media (min-width: 38em) {" article { @include column(8); }" aside { @include column(4); }" }
  274. Or, just roll your own

  275. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  276. CREATING FLEXIBILITY Responsive Layout Patterns ‣ Source order stacking ‣

    Content choreography ‣ Off canvas
  277. CREATING FLEXIBILITY Responsive Layout Patterns ‣ Source order stacking ‣

    Content choreography ‣ Off canvas
  278. HEADER HEADER CONTENT 1 CONTENT 1 CONTENT 2 CONTENT 2

    AD SEARCH SEARCH AD FOOTER Large Resolution Small Resolution
  279. HEADER HEADER CONTENT 1 CONTENT 1 CONTENT 2 CONTENT 2

    AD SEARCH SEARCH AD FOOTER Large Resolution Small Resolution
  280. CREATING FLEXIBILITY Responsive Layout Patterns ‣ Source order stacking ‣

    Content choreography ‣ Off canvas
  281. None
  282. None
  283. appendAround JS Library https://github.com/filamentgroup/AppendAround $( “.move-me" ).appendAround();

  284. <!-- initial container for appendAround -->" <div class=“cont-1” data-set="containers">" <p

    class=“move-me”>appendAround content</p>" </div> " ! <div>" <p>Some other content</p>" </div>" ! <!-- potential container for appendAround -->" <div class=“cont-2" data-set="containers"></div>" ! <div>" <p>Some other content</p>" </div>" ! <!-- potential container for appendAround -->" <div class=“cont-3" data-set="containers"></div>
  285. .cont-1 { display: block; }" .cont-2, .cont-3 { display: none;

    }" ! @media (min-width: 30em) {" .cont-2 { display: block; }" .cont-1, .cont-3 { display: none; }" }" ! @media (min-width: 50em) {" .cont-3 { display: block; }" .cont-1, .cont-2 { display: none; }" }
  286. CREATING FLEXIBILITY Responsive Layout Patterns ‣ Source order stacking ‣

    Content choreography ‣ Off canvas
  287. HEADER CONTENT 1 CONTENT 2 RELATED CONTENT POPULAR CONTENT SUB

    NAV AD Large Resolution
  288. CONTENT 1 NAVIGATION RELATED CON POPULAR CON AD NAV EXTRA

    HEADER
  289. Easiest to show
 a few examples:
 http://jasonweaver.name/lab/offcanvas/ ! http://disney.com/ !

    http://www.lenovo.com/au/en/
  290. There are many, many combinations of these basic ideas !

    http://bit.ly/U4N5qH ! (http://bradfrost.github.com/this-is-responsive/patterns.html)
  291. There are some really cool new layout modules coming...

  292. http://www.netmagazine.com/tutorials/ master-new-css-layout-properties

  293. http://www.fivesimplesteps.com/ products/css3-layout-modules

  294. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  295. Type flexes by default

  296. We need to consider readability

  297. CREATING FLEXIBILITY Responsive Typography ‣ Small screen != small font-size

    ‣ Consider contrast ‣ If text has links, give adequate room to touch them ‣ Viewport-based type sizing
  298. CREATING FLEXIBILITY Responsive Typography ‣ Small screen != small font-size

    ‣ Consider contrast ‣ If text has links, give adequate room to touch them ‣ Viewport-based type sizing
  299. CREATING FLEXIBILITY Responsive Typography ‣ Small screen != small font-size

    ‣ Consider contrast ‣ If text has links, give adequate room to touch them ‣ Viewport-based type sizing
  300. @snookca http://snook.ca/technical/colour_contrast/ colour.html ! @leaverou http://leaverou.github.com/contrast-ratio/

  301. CREATING FLEXIBILITY Responsive Typography ‣ Small screen != small font-size

    ‣ Consider contrast ‣ If text has links, give adequate room to touch them ‣ Viewport-based type sizing
  302. CREATING FLEXIBILITY Responsive Typography ‣ Small screen != small font-size

    ‣ Consider contrast ‣ If text has links, give adequate room to touch them ‣ Viewport-based type sizing
  303. vw & vh CSS Units

  304. JS Alternatives

  305. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  306. Flexible Images img {" max-width: 100%;" }

  307. The image problem(s)

  308. CREATING FLEXIBILITY The image problem(s) ‣ Content ‣ Bandwidth ‣

    Pixel density
  309. CREATING FLEXIBILITY Image: Content

  310. CREATING FLEXIBILITY Image: Content

  311. CREATING FLEXIBILITY Image: Content

  312. CREATING FLEXIBILITY Image: Content

  313. CREATING FLEXIBILITY Image: Bandwidth As of March of 2012, 86%

    of the sites on mediaqueri.es demonstrated the same weight and load time at resolutions from 300ish to 1200ish. ! via @guypod http://www.guypo.com/mobile/performance-implications-of-responsive- design-book-contribution/
  314. CREATING FLEXIBILITY Image: Bandwidth Responsive & Responsible ! via @scotjehl

    https://speakerdeck.com/scottjehl/responsive-responsible http://www.lukew.com/ff/entry.asp?1565
  315. CREATING FLEXIBILITY Image: Pixel Density Most new mobile devices have

    high pixel density displays: ! Apple iPhone 4+: 326 PPI Amazon Kindle Fire HD 8.9: 254 PPI Nokia Lumia 920: 332 PPI BlackBerry Z10: 356 PPI Samsung Galaxy Note: 285 PPI
  316. CREATING FLEXIBILITY The image problem(s) ‣ Content ‣ Bandwidth ‣

    Pixel density
  317. CREATING FLEXIBILITY The image solution(s) ‣ SVG ‣ Icon fonts

    ‣ Pixel-density media queries ‣ Compressive ‣ Polyfill new markup patterns ‣ User preference
  318. SVG (Scalable Vector Graphics) ‣ Allows the image to be

    resolution independent. ‣ Support isn’t very good for older browsers. ‣ We can use Modernizr to detect if the browser supports SVG and provide a .png fallback for those that do not.
  319. @dbushell wrote a great primer for SVG

  320. Icon Fonts ‣ Fonts by default are resolution independent, Icon

    fonts are no different. ‣ http://icomoon.io/app/ allows you to create your own icon fonts ‣ They do require a bit more markup, and JS for IE 7 and lower.
  321. Icon Font Markup /*.scss*/" [data-icon]:before {" content: attr(data-icon);" font-family: 'icon-font-family';"

    speak: none;" } <!--html-->" <a href="#" class="search-toggle">" <span aria-hidden="true" 
 data-icon="&#xe009;"></span>" <span class="screen-reader">Search</span>" </a>
  322. “Compressive” Images ‣ http://bit.ly/Sygdey ‣ Increase the image dimensions ‣

    Add massive compression ‣ Scale the image in the browser
  323. Pixel Density MQs ‣ Detect the pixel ratio of the

    device and serve a second, higher-res image. ‣ Retina devices now have to make an additional request for the retina asset.
  324. Pixel Density MQs Also need other browser prefixes /*.scss*/" @media

    only all and
 (-webkit-min-device-pixel-ratio: 1.5) {" .logo {" background-image: url(/i/logo-2x.png);" background-size: 100%;" }" }
  325. New Markup ‣ http://responsiveimages.org/ ! ‣ Picture - http://picture.responsiveimages.org/ ‣

    Srcset - http://www.w3.org/html/wg/drafts/srcset/ w3c-srcset/
  326. Picture Polyfill

  327. Srcset Polyfill

  328. User Preference ‣ Allow the user to choose what experience

    they would like to have on their device: “HD” or “SD”.
  329. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  330. CREATING FLEXIBILITY Tables http://jsbin.com/emexa4

  331. CREATING FLEXIBILITY Tables http://codepen.io/aarongustafson/pen/ucJGv

  332. CREATING FLEXIBILITY Tables http://filamentgroup.com/examples/rwd-table-patterns/

  333. CREATING FLEXIBILITY Tables http://codepen.io/bencallahan/pen/xvmCe

  334. RWD Table Patterns http://codepen.io/ bencallahan/pen/xvmCe

  335. CREATING FLEXIBILITY What Needs to Flex ‣ Grids ‣ Layout

    ‣ Typography ‣ Images ‣ Tables ‣ Video
  336. CREATING FLEXIBILITY Video

  337. CREATING FLEXIBILITY Intrinsic Ratios http://codepen.io/bencallahan/pen/KICkl

  338. CREATING FLEXIBILITY Video

  339. Creating flexibility requires experimentation

  340. Discussion ‣ What content types have we not addressed? ‣

    What specific challenges are you facing in creating flexibility?
  341. UNIQUE CONSIDERATIONS AND CHALLENGES RWD NAVIGATION

  342. The Maze

  343. amazon.com

  344. amazon.com

  345. amazon.com

  346. amazon.com

  347. amazon.com

  348. amazon.com

  349. Congratulations! In celebration of all your hard work and discipline,

    as a reward for all the risk you’ve taken to reach this point, we’re quite pleased to present you with…YOUR CONTENT! ! Keep up the good work! ! ~ The Management
  350. A Taxonomy ‣ Trigger Indicators ‣ Trigger Patterns ! ‣

    Interaction Indicators ‣ Interaction Patterns
  351. Trigger Indicators

  352. Trigger Indicators ‣ Words ‣ menu, main menu ‣ nav,

    navigation ‣ sections, site sections,
 topics, products ‣ products, see products ‣ Icons ‣ plus ‣ hamburger ‣ arrows
  353. TRIGGER INDICATORS Words

  354. TRIGGER INDICATORS Icons Plus Hamburger Down Arrow

  355. TRIGGER INDICATORS Other & Combinations

  356. Trigger Indicators ‣ Words ‣ menu, main menu ‣ nav,

    navigation ‣ sections, site sections,
 topics, products ‣ products, see products ‣ Icons ‣ plus ‣ hamburger ‣ arrows
  357. Trigger Patterns

  358. Trigger Patterns ‣ Always Available ‣ Anchor to Footer ‣

    Select Element ‣ Make Room ‣ Cover Up ‣ Off Canvas ‣ Priority + ‣ Full Screen Takeover
  359. TRIGGER PATTERNS: ALWAYS AVAILABLE

  360. TRIGGER PATTERNS: ANCHOR TO FOOTER

  361. TRIGGER PATTERNS: SELECT ELEMENT

  362. iOS 7 TRIGGER PATTERNS: SELECT ELEMENT

  363. TRIGGER PATTERNS: SELECT ELEMENT Chrome on OS X

  364. TRIGGER PATTERNS: MAKE ROOM

  365. TRIGGER PATTERNS: COVER UP

  366. TRIGGER PATTERNS: OFF CANVAS

  367. TRIGGER PATTERNS: PRIORITY +

  368. TRIGGER PATTERNS: FULL SCREEN TAKEOVER

  369. Trigger Patterns ‣ Always Available ‣ Anchor to Footer ‣

    Select Element ‣ Make Room ‣ Cover Up ‣ Off Canvas ‣ Priority + ‣ Full Screen Takeover
  370. Interaction Indicators

  371. INTERACTION INDICATORS Icons

  372. Interaction Indicators ‣ Icons ‣ plus ‣ dash ‣ “x”

    ‣ various arrows
  373. Interaction Patterns

  374. Interaction Patterns ‣ List ‣ Accordion ‣ Paging

  375. INTERACTION PATTERNS: LIST

  376. INTERACTION PATTERNS: ACCORDION

  377. INTERACTION PATTERNS: PAGING

  378. INTERACTION PATTERNS: PAGING

  379. Interaction Patterns ‣ List ‣ Accordion ‣ Paging

  380. Other Considerations

  381. Other Considerations ‣ Architecture ‣ Focus ‣ Behavior ‣ JavaScript

    ‣ Usability
  382. OTHER CONSIDERATIONS: ARCHITECTURE

  383. OTHER CONSIDERATIONS: FOCUS

  384. OTHER CONSIDERATIONS: BEHAVIOR Multi Open

  385. OTHER CONSIDERATIONS: BEHAVIOR Single Open

  386. OTHER CONSIDERATIONS: BEHAVIOR Single Open

  387. Auto Scroll OTHER CONSIDERATIONS: BEHAVIOR

  388. Other Considerations ‣ JavaScript ‣ Visible by Default ‣ Anchor

    to Footer ‣ Single DOM
  389. Other Considerations ‣ Usability ‣ User Expectations ‣ Plan for

    the Worst ‣ Teach Use
  390. Discussion ‣ How are you handling navigation in your RWD

    projects? ‣ Have you been able to push back on IA?
  391. LEARN FROM OUR MISTAKES LESSONS
 LEARNED

  392. Testing

  393. LESSONS LEARNED Testing ‣ You must test on real devices

    ‣ Do your development in a webkit browser ‣ Build libraries of your patterns
  394. Pricing

  395. LESSONS LEARNED Pricing ‣ As much as 100% more, initially

    ‣ Likely to be 50% more, soon after ‣ Probably never less than 25% more
  396. LESSONS LEARNED Pricing ‣ As much as 100% more, initially

    ‣ Likely to be 50% more, soon after ‣ Probably never less than 25% more COMPARED TO WHAT?
  397. LESSONS LEARNED Pricing ‣ Testing (labs & time) ‣ Fewer

    patterns ‣ Project management ‣ Learning curve ‣ Maintenance ‣ Content strategy
  398. Prioritization

  399. LESSONS LEARNED Prioritization

  400. LESSONS LEARNED Prioritization

  401. LESSONS LEARNED Prioritization

  402. LESSONS LEARNED Prioritization

  403. LESSONS LEARNED Prioritization

  404. Performance

  405. LESSONS LEARNED Performance ‣ Optimize or cut out images ‣

    Decrease the number of requests ‣ Gzip if you can ‣ Concat and minify CSS/JS ‣ Load CSS at the top ‣ Load JS at the bottom ‣ Follow @souders on Twitter
  406. Barriers

  407. LESSONS LEARNED Barriers ‣ Organization barriers block collaboration ‣ Must

    have buy in from upper management ‣ Must have buy in from those doing the work ‣ It’s not easy, we’re still
 figuring it out
  408. What’s Next

  409. Fluency SOLVE THE PROBLEM

  410. Jakob Nielsen Says... ‣ Build a separate mobile site ‣

    Cut features ‣ Cut content http://www.nngroup.com/articles/mobile-site-vs-full-site/
  411. Jakob Nielsen Says... ‣ Build a separate mobile site ‣

    Cut features ‣ Cut content http://www.nngroup.com/articles/mobile-site-vs-full-site/ PLEASE, NO.
  412. The Responsive Dip ! http://bit.ly/MasqBk

  413. The Responsive Mindset ! “The truly responsive design web designer

    wasn’t born until after the launch of the iPhone. We haven’t seen his or her work yet.” ! Andy Clarke ! http://the-pastry-box-project.net/andy-clarke/2012-april-8/
  414. ! There are many problems left to solve. ! We’ll

    solve them much faster if we solve them together.
  415. THANKS! @bencallahan @jeremyloyd