Slide 1

Slide 1 text

Ben Callahan President, Sparkbox Remix South October 19, 2012 Responsive Web Design @BENCALLAHAN http://bit.ly/LWLTEA RESPONSIVE WEB DESIGN 1 Sunday, October 21, 12

Slide 2

Slide 2 text

September 9, 2007 6:30am @BENCALLAHAN RESPONSIVE WEB DESIGN 2 Sunday, October 21, 12

Slide 3

Slide 3 text

@BENCALLAHAN RESPONSIVE WEB DESIGN 3 Sunday, October 21, 12

Slide 4

Slide 4 text

52% of laptop owners also own a smartphone In the US... http://bit.ly/zE1zgp @BENCALLAHAN RESPONSIVE WEB DESIGN 4 Sunday, October 21, 12

Slide 5

Slide 5 text

31% of smartphone owners also own a tablet In the US... http://bit.ly/zE1zgp @BENCALLAHAN RESPONSIVE WEB DESIGN 5 Sunday, October 21, 12

Slide 6

Slide 6 text

23% of laptop owners also own a tablet In the US... http://bit.ly/zE1zgp @BENCALLAHAN RESPONSIVE WEB DESIGN 6 Sunday, October 21, 12

Slide 7

Slide 7 text

13% own a laptop, smartphone, and tablet In the US... http://bit.ly/zE1zgp @BENCALLAHAN RESPONSIVE WEB DESIGN 7 Sunday, October 21, 12

Slide 8

Slide 8 text

@BENCALLAHAN RESPONSIVE WEB DESIGN 8 Sunday, October 21, 12

Slide 9

Slide 9 text

The web is not fixed width @BENCALLAHAN RESPONSIVE WEB DESIGN 9 Sunday, October 21, 12

Slide 10

Slide 10 text

@BENCALLAHAN The Necessary Intro RESPONSIVE WEB DESIGN My name is Ben @bencallahan http://seesparkbox.com http://buildresponsively.com 10 Sunday, October 21, 12

Slide 11

Slide 11 text

@BENCALLAHAN The Necessary Intro RESPONSIVE WEB DESIGN Let’s talk over a beer 11 Sunday, October 21, 12

Slide 12

Slide 12 text

@BENCALLAHAN The Necessary Intro RESPONSIVE WEB DESIGN Speak up 12 Sunday, October 21, 12

Slide 13

Slide 13 text

@BENCALLAHAN The Necessary Intro RESPONSIVE WEB DESIGN Download the repo (later) http://bit.ly/LWLTEA 13 Sunday, October 21, 12

Slide 14

Slide 14 text

@BENCALLAHAN What We’ll Cover RESPONSIVE WEB DESIGN RWD 101 RWD Process Lessons Learned What’s Next in RWD 14 Sunday, October 21, 12

Slide 15

Slide 15 text

@BENCALLAHAN RWD 101 RESPONSIVE WEB DESIGN 15 Sunday, October 21, 12

Slide 16

Slide 16 text

The web is not fixed width @BENCALLAHAN RESPONSIVE WEB DESIGN 16 Sunday, October 21, 12

Slide 17

Slide 17 text

The penetration of desktop/ laptop ownership is the same today as it was in 2007. In the US... http://bit.ly/zE1zgp @BENCALLAHAN RESPONSIVE WEB DESIGN 17 Sunday, October 21, 12

Slide 18

Slide 18 text

@BENCALLAHAN RESPONSIVE WEB DESIGN 0 500 1000 1500 2000 2007 2008 2009 2010 2011 2012 2013 2014 2015 Mobile Users Desktop Users RWD 101 18 Sunday, October 21, 12

Slide 19

Slide 19 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Flexibility is the new norm RWD 101 19 Sunday, October 21, 12

Slide 20

Slide 20 text

@BENCALLAHAN RESPONSIVE WEB DESIGN People are trying to browse your sites on these devices. Today. RWD 101 20 Sunday, October 21, 12

Slide 21

Slide 21 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Responsive Web Design RWD 101 21 Sunday, October 21, 12

Slide 22

Slide 22 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Ethan Marcotte Article on alistapart.com Book via A Book Apart RWD 101 22 Sunday, October 21, 12

Slide 23

Slide 23 text

@BENCALLAHAN RESPONSIVE WEB DESIGN A Fluid Foundation Flexible Content Media Queries RWD 101 23 Sunday, October 21, 12

Slide 24

Slide 24 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Honor the proportions of the design by creating percentage-based grids instead of fixed-width, pixel-based grids. RWD 101: A Fluid Foundation 24 Sunday, October 21, 12

Slide 25

Slide 25 text

@BENCALLAHAN RESPONSIVE WEB DESIGN
RWD 101: A Fluid Foundation 25 Sunday, October 21, 12

Slide 26

Slide 26 text

@BENCALLAHAN RESPONSIVE WEB DESIGN .span-1 { width: 90px; } .span-1 { width: ??%; } FIXED-WIDTH FLUID 300px wide grid RWD 101: A Fluid Foundation 26 Sunday, October 21, 12

Slide 27

Slide 27 text

@BENCALLAHAN RESPONSIVE WEB DESIGN .span-1 { width: 90px; } .span-1 { width: ??%; } FIXED-WIDTH FLUID target / context = % RWD 101: A Fluid Foundation 27 Sunday, October 21, 12

Slide 28

Slide 28 text

@BENCALLAHAN RESPONSIVE WEB DESIGN .span-1 { width: 90px; } .span-1 { width: 30%; } FIXED-WIDTH FLUID 90 / 300 = .3 target / context = % RWD 101: A Fluid Foundation 28 Sunday, October 21, 12

Slide 29

Slide 29 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Turn a 300px 3-column grid into a fluid grid. /01-RWD101/br-1.html RWD 101: A Fluid Foundation Example http://bit.ly/LWLTEA 29 Sunday, October 21, 12

Slide 30

Slide 30 text

@BENCALLAHAN RESPONSIVE WEB DESIGN IE & Rounding RWD 101: A Fluid Foundation 30 Sunday, October 21, 12

Slide 31

Slide 31 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: A Fluid Foundation ➡Semantic Grid Systems ‣ http://semantic.gs ‣ http://susy.oddbird.net 31 Sunday, October 21, 12

Slide 32

Slide 32 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: A Fluid Foundation @column-­‐width:  60; @gutter-­‐width:  20; @columns:  12; @total-­‐width:  100%; header  {  .column(12);  } article  {  .column(12);  } aside  {  .column(12);  } @media  (min-­‐width:  38em)  {      article  {  .column(8);  }      aside  {  .column(4);  } } 32 Sunday, October 21, 12

Slide 33

Slide 33 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Flexible Content Once we have a grid which is based on proportions, the content we put in that grid must also respond. 33 Sunday, October 21, 12

Slide 34

Slide 34 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Flexible Content img { max-width: 100%; } 34 Sunday, October 21, 12

Slide 35

Slide 35 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Make the image flexible. /01-RWD101/br-3.html http://bit.ly/LWLTEA RWD 101: Flexible Content The awesome poem is by a guy named Douglas, check him out at: http://ligzpoems.blogspot.com/ Example 35 Sunday, October 21, 12

Slide 36

Slide 36 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Flexible Content Video embed/object works similarly. If you use iframe embeds, you can use intrinsic ratios. /11-Ratios and /12-Ratios-Review http://bit.ly/LWLTEA 36 Sunday, October 21, 12

Slide 37

Slide 37 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries When our content and our design are no longer working in harmony, we need to make a larger shift in layout. 37 Sunday, October 21, 12

Slide 38

Slide 38 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries

Slide 39

Slide 39 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Types

Slide 40

Slide 40 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Types all braille, embossed, speech handheld, projection, screen, tv print tty http://www.w3.org/TR/CSS21/media.html#media-types 40 Sunday, October 21, 12

Slide 41

Slide 41 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Features

Slide 42

Slide 42 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: 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 42 Sunday, October 21, 12

Slide 43

Slide 43 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries @media (min-width: 600px) { /* styles for 600px and up here */ } @media (max-width: 38em) { /* styles for 38em and down here */ } 43 Sunday, October 21, 12

Slide 44

Slide 44 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries /* Large Resolution First CSS File Structure */ /* large resolution layouts here */ @media (max-width: 62em) { /* styles for 62em and down here */ } @media (max-width: 40em) { /* styles for 40em and down here */ } 44 Sunday, October 21, 12

Slide 45

Slide 45 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries /* Small Resolution First CSS File Structure */ /* smallest resolution layouts here */ @media (min-width: 28em) { /* styles for 28em and up here */ } @media (min-width: 53em) { /* styles for 53em and up here */ } 45 Sunday, October 21, 12

Slide 46

Slide 46 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries Large Rez First Easy support for old IE Small devices load all assets Small Rez First More logical (build up vs tear down) Old IE is tricky 46 Sunday, October 21, 12

Slide 47

Slide 47 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Media Queries The Media Query Bookmarklet by @robtarr http://sparkbox.github.com/mediaQueryBookmarklet 47 Sunday, October 21, 12

Slide 48

Slide 48 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Throw in a media query. /01-RWD101/br-4.html Example http://bit.ly/LWLTEA RWD 101: Media Queries 48 Sunday, October 21, 12

Slide 49

Slide 49 text

@BENCALLAHAN RESPONSIVE WEB DESIGN A Fluid Foundation Flexible Content Media Queries RWD 101 49 Sunday, October 21, 12

Slide 50

Slide 50 text

@BENCALLAHAN RESPONSIVE WEB DESIGN ➡ Touch Target Area ➡ Hover States ➡ Contrast ➡ Readability Other Considerations RWD 101 50 Sunday, October 21, 12

Slide 51

Slide 51 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Other Considerations ➡ Touch Target Area ‣ Apple recommends minimum 44px X 44px ‣ This is based on non-retina displays ‣ Using padding instead of margin http://www.lukew.com/ff/entry.asp?1085 http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/ DesigningNativeApp/DesigningNativeApp.html#//apple_ref/doc/uid/TP40006556-CH4-SW1 51 Sunday, October 21, 12

Slide 52

Slide 52 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Other Considerations ➡ Hover States ‣ Don’t hide content behind :hover ‣ Consider using modernizr a { /* standard styles */ } .no-touch a:hover { /* :hover styles */ } 52 Sunday, October 21, 12

Slide 53

Slide 53 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Other Considerations ➡ Contrast ‣ Try your site outside in the sun ‣ Try your site in bed when it’s dark ‣ Take it with you 53 Sunday, October 21, 12

Slide 54

Slide 54 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101: Other Considerations ➡ Readability ‣ Small screen != small type ‣ Consider increasing font size 54 Sunday, October 21, 12

Slide 55

Slide 55 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD 101 ➡ Touch Target Area ➡ Hover States ➡ Contrast ➡ Readability A Fluid Foundation Flexible Content Media Queries 55 Sunday, October 21, 12

Slide 56

Slide 56 text

@BENCALLAHAN RWD Process RESPONSIVE WEB DESIGN 56 Sunday, October 21, 12

Slide 57

Slide 57 text

@BENCALLAHAN RESPONSIVE WEB DESIGN A Process Myth Each client deliverable needs to look more like a final, beautiful end- product than the previous one. RWD Process 57 Sunday, October 21, 12

Slide 58

Slide 58 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Which Results In Pushing toward nearly-designed wireframes quickly and completely designed comps soon after. RWD Process 58 Sunday, October 21, 12

Slide 59

Slide 59 text

@BENCALLAHAN RESPONSIVE WEB DESIGN A Better Mindset Deliverables that best serve the organization and prioritization of content and function across multiple resolutions. RWD Process 59 Sunday, October 21, 12

Slide 60

Slide 60 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD Process Planning Content Design Development 60 Sunday, October 21, 12

Slide 61

Slide 61 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Our Deliverables RWD Process Research Deliverables Content Deliverables Priority Deliverables Style Deliverables Functional Deliverables 61 Sunday, October 21, 12

Slide 62

Slide 62 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Let’s Focus On RWD Process Research Deliverables Content Deliverables Priority Deliverables Style Deliverables Functional Deliverables 62 Sunday, October 21, 12

Slide 63

Slide 63 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Content Priority Prototype Takes the place of a traditional wireframe. As much real content as you can. Linear in nature, so priority is implied. Created in HTML, viewed in a browser. Generated by content/UX people. RWD Process: Priority Deliverables 63 Sunday, October 21, 12

Slide 64

Slide 64 text

@BENCALLAHAN RESPONSIVE WEB DESIGN There is an example in the repository. /02-PlanDesign Take A Look http://bit.ly/LWLTEA RWD Process: Priority Deliverables 64 Sunday, October 21, 12

Slide 65

Slide 65 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Style Prototype Like Style Tiles, but in the browser. Very fast to build. Accurate web typography. Easy to show web interaction. Client reviews in their browser of preference. RWD Process: Style Deliverables 65 Sunday, October 21, 12

Slide 66

Slide 66 text

@BENCALLAHAN RESPONSIVE WEB DESIGN There is an example on Github. Take A Look http://sparkbox.github.com/dr-style-prototype RWD Process: Style Deliverables http://bit.ly/Tb7HPr 66 Sunday, October 21, 12

Slide 67

Slide 67 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Can’t throw it over the wall RWD Process: Collaboration 67 Sunday, October 21, 12

Slide 68

Slide 68 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Content Priority Prototype Style Prototype RWD Process 68 Sunday, October 21, 12

Slide 69

Slide 69 text

@BENCALLAHAN Lessons Learned RESPONSIVE WEB DESIGN 69 Sunday, October 21, 12

Slide 70

Slide 70 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned Pricing 70 Sunday, October 21, 12

Slide 71

Slide 71 text

@BENCALLAHAN RESPONSIVE WEB DESIGN As much as 100% more, initially Likely to be 50% more, soon after Probably never less than 25% more Lessons Learned: Pricing 71 Sunday, October 21, 12

Slide 72

Slide 72 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned Prioritization 72 Sunday, October 21, 12

Slide 73

Slide 73 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned: Prioritization 73 Sunday, October 21, 12

Slide 74

Slide 74 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned: Prioritization 74 Sunday, October 21, 12

Slide 75

Slide 75 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned: Prioritization 75 Sunday, October 21, 12

Slide 76

Slide 76 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned: Prioritization 76 Sunday, October 21, 12

Slide 77

Slide 77 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned: Prioritization 77 Sunday, October 21, 12

Slide 78

Slide 78 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Testing Lessons Learned 78 Sunday, October 21, 12

Slide 79

Slide 79 text

@BENCALLAHAN RESPONSIVE WEB DESIGN You must test on real devices Do your development in a webkit browser Build libraries of your patterns Lessons Learned: Testing 79 Sunday, October 21, 12

Slide 80

Slide 80 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned Consistency 80 Sunday, October 21, 12

Slide 81

Slide 81 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Familiarity breeds usability Don’t do crazy stuff just because you can Users do resize their browser http://seesparkbox.com/foundry/cross_width_consistency Lessons Learned: Consistency 81 Sunday, October 21, 12

Slide 82

Slide 82 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Lessons Learned Experimentation 82 Sunday, October 21, 12

Slide 83

Slide 83 text

@BENCALLAHAN RESPONSIVE WEB DESIGN Get into the browser quickly The inspector is your friend Lessons Learned: Experimentation 83 Sunday, October 21, 12

Slide 84

Slide 84 text

@BENCALLAHAN RWD Patterns RESPONSIVE WEB DESIGN 84 Sunday, October 21, 12

Slide 85

Slide 85 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD Patterns: Navigation Top Nav Bottom Nav Slide Down Nav Select Box Nav Menu Icon Nav Multi-Level http://siyelo.com/ http://contentsmagazine.com http://2012.dconstruct.org http://www.stry.us/ http://twitter.github.com/bootstrap http://msj.edu/ http://dpandl.com http://bostonglobe.com 85 Sunday, October 21, 12

Slide 86

Slide 86 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD Patterns: Tables Show the first column Flip it on it’s side Just hide some of it Selective Display http://www.zurb.com/playground/responsive-tables http://css-tricks.com/examples/ResponsiveTables/responsive.php http://codepen.io/bencallahan/pen/xvmCe http://elvery.net/demo/responsive-tables http://filamentgroup.com/examples/rwd-table-patterns 86 Sunday, October 21, 12

Slide 87

Slide 87 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD Patterns: Images Picturefill Sencha.io Resrc.it Adaptive Images https://github.com/scottjehl/picturefill http://docs.sencha.io http://resrc.it http://adaptive-images.com and tons more... 87 Sunday, October 21, 12

Slide 88

Slide 88 text

@BENCALLAHAN RESPONSIVE WEB DESIGN “...performance is important, but access is more important. Mobile later is better than mobile never.” RWD Patterns: Images K istofer Layon http://tiny.cc/vr24gw 88 Sunday, October 21, 12

Slide 89

Slide 89 text

@BENCALLAHAN RESPONSIVE WEB DESIGN RWD Patterns: Off-Canvas Layouts www.lukew.com/ff/entry.asp?1569 89 Sunday, October 21, 12

Slide 90

Slide 90 text

@BENCALLAHAN What’s Next in RWD RESPONSIVE WEB DESIGN 90 Sunday, October 21, 12

Slide 91

Slide 91 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD 91 Sunday, October 21, 12

Slide 92

Slide 92 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD: The Dip 92 Sunday, October 21, 12

Slide 93

Slide 93 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD: The Dip Stages of Competence Unconscious Incompetence Conscious Incompetence Conscious Competence Unconscious Competence 93 Sunday, October 21, 12

Slide 94

Slide 94 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD The Responsive Dip http://bit.ly/MasqBk 94 Sunday, October 21, 12

Slide 95

Slide 95 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD The Responsive Mindset 95 Sunday, October 21, 12

Slide 96

Slide 96 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD 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/ 96 Sunday, October 21, 12

Slide 97

Slide 97 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD Move beyond the technique • Mobile first process • Performance as a feature • The server is our friend • Modular content systems • Content and functional priority 97 Sunday, October 21, 12

Slide 98

Slide 98 text

@BENCALLAHAN RESPONSIVE WEB DESIGN What’s Next in RWD Move the industry forward • Apprenticeships • Board of Advisors • Experimentation 98 Sunday, October 21, 12

Slide 99

Slide 99 text

Ben Callahan President, Sparkbox Remix South October 19, 2012 Thank You! @BENCALLAHAN http://bit.ly/LWLTEA RESPONSIVE WEB DESIGN 99 Sunday, October 21, 12