Slide 1

Slide 1 text

HANDS-ON RESPONSIVE WEB DESIGN Ben Callahan // @bencallahan Sparkbox // seesparkbox.com http://bit.ly/LWLTEA Monday, July 30, 12

Slide 2

Slide 2 text

No Streaming The Olympics Monday, July 30, 12

Slide 3

Slide 3 text

No Streaming The Olympics UNLESS IT’S BEACH VOLLEYBALL Monday, July 30, 12

Slide 4

Slide 4 text

Download the Repo http://bit.ly/LWLTEA Monday, July 30, 12

Slide 5

Slide 5 text

Want More? @brworkshop @hearsparkbox @bencallahan www.seesparkbox.com/foundry Monday, July 30, 12

Slide 6

Slide 6 text

Join In the Twitters #eduweb12 #eduRWD Monday, July 30, 12

Slide 7

Slide 7 text

Let’ Talk Over a Beer Monday, July 30, 12

Slide 8

Slide 8 text

SPEAK UP Monday, July 30, 12

Slide 9

Slide 9 text

WHY ARE YOU HERE? Monday, July 30, 12

Slide 10

Slide 10 text

THE WEB IS NOT FIXED-WIDTH Monday, July 30, 12

Slide 11

Slide 11 text

Over 60% of new handset sales are smartphones. THIS IS A PARADIGM SHIFT Monday, July 30, 12

Slide 12

Slide 12 text

As of April of 2012, Apple has sold around 67 million iPads. THIS IS A PARADIGM SHIFT Monday, July 30, 12

Slide 13

Slide 13 text

Amazon sold over 4 million Kindle Fires in December of 2011. THIS IS A PARADIGM SHIFT Monday, July 30, 12

Slide 14

Slide 14 text

FLEXIBILITY IS THE NEW NORM Monday, July 30, 12

Slide 15

Slide 15 text

FLEXIBILITY IS THE NEW NORM 0 500 1000 1500 2000 2007 2008 2009 2010 2011 2012 2013 2014 2015 Mobile Users Desktop Users Global Mobile vs Desktop Internet User Projection Source: Morgan Stanley Research Monday, July 30, 12

Slide 16

Slide 16 text

PEOPLE ARE TRYING TO BROWSE YOUR WEBSITES ON THESE DEVICES, TODAY. FLEXIBILITY IS THE NEW NORM Monday, July 30, 12

Slide 17

Slide 17 text

http://website.com THREE WAYS ORGANIZATIONS ARE ADDRESSING MOBILE Monday, July 30, 12

Slide 18

Slide 18 text

IGNORE IT FIXED-WIDTH “DESKTOP” http://website.com THREE WAYS ORGANIZATIONS ARE ADDRESSING MOBILE Monday, July 30, 12

Slide 19

Slide 19 text

MOBILE SITE FIXED-WIDTH “DESKTOP” http://website.com 100% WIDE “MOBILE” http://mobile.website.com + THREE WAYS ORGANIZATIONS ARE ADDRESSING MOBILE Monday, July 30, 12

Slide 20

Slide 20 text

RESPONSIVE WEB DESIGN ONE SITE ADJUSTS ITSELF http://website.com THREE WAYS ORGANIZATIONS ARE ADDRESSING MOBILE Monday, July 30, 12

Slide 21

Slide 21 text

ETHAN MARCOTTE Article on alistapart.com Book via A Book Apart RESPONSIVE WEB DESIGN Monday, July 30, 12

Slide 22

Slide 22 text

RESPONSIVE WEB DESIGN A FLUID GRID FLEXIBLE CONTENT MEDIA QUERIES Monday, July 30, 12

Slide 23

Slide 23 text

RWD PLANNING & DESIGN Monday, July 30, 12

Slide 24

Slide 24 text

PROJECT BRIEF Monday, July 30, 12

Slide 25

Slide 25 text

PROJECT BRIEF Client: Dress Responsively Project: Website that offers RWD-themed apparel. Monday, July 30, 12

Slide 26

Slide 26 text

PROJECT BRIEF Project Scope Offer only t-shirts at first... potential for more later No initial product inventory (no cart, checkout, etc) Users vote via twitter on what shirt they want produced Should appeal to designers and developers Simple 3-4 template site initially Site will be responsive, build mobile-first Monday, July 30, 12

Slide 27

Slide 27 text

Logo and tagline Headline: “You Decide, 2012” Navigation: Home, About, Shirts, Contact Top Shirt: # votes, title, description, link to detail view About Text: headline and two paragraphs describing the site Footer: nav and copyright Monday, July 30, 12

Slide 28

Slide 28 text

Monday, July 30, 12

Slide 29

Slide 29 text

Monday, July 30, 12

Slide 30

Slide 30 text

BROKEN PROCESS As if you didn’t already know. Monday, July 30, 12

Slide 31

Slide 31 text

The problem isn’t the style, it looks cool. The problem isn’t the size of the design. BROKEN PROCESS THE PROBLEM WITH “960-ONLY DESIGNING” Monday, July 30, 12

Slide 32

Slide 32 text

THE PROBLEM IS THE MINDSET BROKEN PROCESS THE PROBLEM WITH “960-ONLY DESIGNING” Monday, July 30, 12

Slide 33

Slide 33 text

BROKEN PROCESS So, what’ a geek to do? Monday, July 30, 12

Slide 34

Slide 34 text

DON’T keep up the status quo. DON’T stop at whining about inadequate tools. Get creative and explore other possibilities with the tools and practices we have available today. BROKEN PROCESS Monday, July 30, 12

Slide 35

Slide 35 text

STUFF WE’VE TRIED It ain’t always been pretty. Monday, July 30, 12

Slide 36

Slide 36 text

We are attempting to optimize planning, content, design, and development time, finding a balance of appropriate direction from all disciplines without destroying budgets. ...while delivering on mobile-first, responsive designs where content is valued and considered. THE GOAL Monday, July 30, 12

Slide 37

Slide 37 text

MOBILE FIRST DESIGN “Let’s try designing it the way we plan to code it. Just do the design at a small resolution.” STUFF WE’VE TRIED Monday, July 30, 12

Slide 38

Slide 38 text

MOBILE FIRST DESIGN Problems: Mobile layouts are inevitably more linear and simple, and they provide little direction or room for more interesting layouts at large screen sizes. STUFF WE’VE TRIED Monday, July 30, 12

Slide 39

Slide 39 text

STUFF WE’VE TRIED BOOKENDS “Okay, if designing for large resolutions isn’t enough, how about adding a small resolution version? We’ll deliver both.” Monday, July 30, 12

Slide 40

Slide 40 text

STUFF WE’VE TRIED BOOKENDS Problems... It’s a band-aid. Increases timeline and budget. Monday, July 30, 12

Slide 41

Slide 41 text

STUFF WE’VE TRIED BOOKENDS... PLUS “Okay, if designing large and small resolutions isn’t enough, how about adding a mid-range version? After all, tablets are the new black.” “And how about a 1280?” “And maybe one for my Blackberry Storm?” Monday, July 30, 12

Slide 42

Slide 42 text

STUFF WE’VE TRIED BOOKENDS... PLUS Problems... Again, it’s a band-aid. And it costs a LOT, too. Monday, July 30, 12

Slide 43

Slide 43 text

OUR PROCESS For now, anyway. Monday, July 30, 12

Slide 44

Slide 44 text

We are attempting to optimize planning, content, design, and development time, finding a balance of appropriate direction from all disciplines without destroying budgets. ...while delivering on mobile-first, responsive designs where content is valued and considered. THE GOAL Monday, July 30, 12

Slide 45

Slide 45 text

A Priority Guide OUR PROCESS Step One-a: Monday, July 30, 12

Slide 46

Slide 46 text

Home About Shirts Contact Dress Responsively clothing co SIZE US UP & CAST YOUR VOTE! IMAGE OF LEADING SHIRT WHAT’S THIS ALL ABOUT? SHOW ME ALL THE CANDIDATES The Dress Responsively Clothing Company doesn’t exist. Yet. This website is a product of Sparkbox’s Build Responsively workshop. Dress Responsively was originally built as a mock project to create working files and content for the workshop’s attendees. But then we got to thinking. What standards-loving, responsively- building, media-querying web citizens wouldn’t love some apparel which flies the flag of the future of the web? Let’s turn it over to the people. So here we are. If we are able to stump for enough interest, tweets, and votes for this geekwear, we’ll print up the winner and make it available. Check out the shirt designs, vote for your frontrunner, and pass us along to your friends. Democracy at work, folks. It’s either that or mob rule, whichever comes first. Either way, we all get sweet shirts out of it. SHOW ME THE CANDIDATES Back to Top SPARKBOX LOGO MADE BY BUILD RESPONSIVELY LOGO EXCLUSIVELY FOR Home About Shirts Contact © Sparkbox 2012 All Rights Reserved. Responsive design is always the right answer. Though it is not always the only answer. Listen to Bruce Lee. Be like water, my friend. We’ve got to design in the browser. We just don’t have the tools yet. El Presidente Say: EXPANDING FOOTER Link Link HAS DROP DOWN MAILTO LINK SCROLL BELOW 334 VOTES #1 IN POLLS Tuesday, February 14, 12 Home About Shirts Contact Dress Responsively clothing co IMAGE OF SHIRT #1 SHIRT DETAILS AND VOTING Back to Top REPEAT FOOTER EXPAND HIDDEN IMAGE OF SHIRT #2 SHIRT DETAILS AND VOTING IMAGE OF SHIRT #3 198 VOTES SHIRT DETAILS AND VOTING 254 VOTES 334 VOTES Tuesday, February 14, 12 A little something clever and explanatory about the shirt. Keep in mind that we can’t be too exclusive in the humor, at least not without giving subtle explanation. Home About Shirts Contact Dress Responsively clothing co IMAGE OF SHIRT #1 VOTE FOR IT EXPAND HIDDEN 334 VOTES CLICK FOR DETAIL VIEW #1 IN POLLS   SHIRT TITLE GOES HERE NEXT SHIRT PREV SHIRT Back to Top REPEAT FOOTER Tuesday, February 14, 12 3 Priority Guides for 3 Templates Monday, July 30, 12

Slide 47

Slide 47 text

Home About Shirts Contact Dress Responsively clothing co SIZE US UP & CAST YOUR VOTE! IMAGE OF LEADING SHIRT WHAT’S THIS ALL ABOUT? SHOW ME ALL THE CANDIDATES The Dress Responsively Clothing Company doesn’t exist. Yet. This website is a product of Sparkbox’s Build Responsively workshop. Dress Responsively was originally built as a mock project to create working files and content for the workshop’s attendees. But then we got to thinking. What standards-loving, responsively- building, media-querying web citizens HAS DROP DOWN MAILTO LINK SCROLL BELOW 334 VOTES #1 IN POLLS Home Page Monday, July 30, 12

Slide 48

Slide 48 text

Home About Shirts Contact Dress Responsively clothing co IMAGE OF SHIRT #1 SHIRT DETAILS AND VOTING EXPAND HIDDEN IMAGE OF SHIRT #2 SHIRT DETAILS AND VOTING 254 VOTES 334 VOTES Listing Page Monday, July 30, 12

Slide 49

Slide 49 text

A little something clever and explanatory about the shirt. Keep in mind that we can’t be too exclusive in the humor, at least not without giving subtle explanation. Home About Shirts Contact Dress Responsively clothing co IMAGE OF SHIRT #1 VOTE FOR IT EXPAND HIDDEN 334 VOTES CLICK FOR DETAIL VIEW #1 IN POLLS   SHIRT TITLE GOES HERE NEXT SHIRT PREV SHIRT Back to Top REPEAT FOOTER Detail Page Monday, July 30, 12

Slide 50

Slide 50 text

Home About Shirts Contact Dress Responsively clothing co SIZE US UP & CAST YOUR VOTE! IMAGE OF LEADING SHIRT WHAT’S THIS ALL ABOUT? SHOW ME ALL THE CANDIDATES The Dress Responsively Clothing Company doesn’t exist. Yet. This website is a product of Sparkbox’s Build Responsively workshop. Dress Responsively was originally built as a mock project to create working files and content for the workshop’s attendees. But then we got to thinking. What standards-loving, responsively- building, media-querying web citizens wouldn’t love some apparel which flies the flag of the future of the web? Let’s turn it over to the people. So here we are. If we are able to stump for enough interest, tweets, and votes for this geekwear, we’ll print up the winner and make it available. Check out the shirt designs, vote for your frontrunner, and pass us along to your friends. Democracy at work, folks. It’s either that or mob rule, whichever comes first. Either way, we all get sweet shirts out of it. SHOW ME THE CANDIDATES Back to Top SPARKBOX LOGO MADE BY BUILD RESPONSIVELY LOGO EXCLUSIVELY FOR Home About Shirts Contact © Sparkbox 2012 All Rights Reserved. Responsive design is always the right answer. Though it is not always the only answer. Listen to Bruce Lee. Be like water, my friend. We’ve got to design in the browser. We just don’t have the tools yet. El Presidente Say: EXPANDING FOOTER Link Link HAS DROP DOWN MAILTO LINK SCROLL BELOW 334 VOTES #1 IN POLLS Tuesday, February 14, 12 Home About Shirts Contact Dress Responsively clothing co IMAGE OF SHIRT #1 SHIRT DETAILS AND VOTING Back to Top REPEAT FOOTER EXPAND HIDDEN IMAGE OF SHIRT #2 SHIRT DETAILS AND VOTING IMAGE OF SHIRT #3 198 VOTES SHIRT DETAILS AND VOTING 254 VOTES 334 VOTES Tuesday, February 14, 12 A little something clever and explanatory about the shirt. Keep in mind that we can’t be too exclusive in the humor, at least not without giving subtle explanation. Home About Shirts Contact Dress Responsively clothing co IMAGE OF SHIRT #1 VOTE FOR IT EXPAND HIDDEN 334 VOTES CLICK FOR DETAIL VIEW #1 IN POLLS   SHIRT TITLE GOES HERE NEXT SHIRT PREV SHIRT Back to Top REPEAT FOOTER Tuesday, February 14, 12 3 Priority Guides for 3 Templates Monday, July 30, 12

Slide 51

Slide 51 text

A Style Prototype http://bit.ly/N0duTD OUR PROCESS Step One-b: Monday, July 30, 12

Slide 52

Slide 52 text

Large Resolution Design OUR PROCESS Step Two: Monday, July 30, 12

Slide 53

Slide 53 text

Code Responsive Templates OUR PROCESS Step Three: Monday, July 30, 12

Slide 54

Slide 54 text

Content , UX, design, and development team members must review and collaborate regularly at every stage in the process. OUR PROCESS Step Four Zero: Monday, July 30, 12

Slide 55

Slide 55 text

We can’t “throw it over the wall” anymore... at least not if we want our sites to be excellent. There are too many moving parts. OUR PROCESS Step Four Zero: Monday, July 30, 12

Slide 56

Slide 56 text

DELIVERABLES Oh yeah. We have to get this tuff approved. Monday, July 30, 12

Slide 57

Slide 57 text

DELIVERABLES It depends... So if everything is changing, what do we show them? Monday, July 30, 12

Slide 58

Slide 58 text

Education. Level of trust. Scope of the project. Time and budget. DELIVERABLES DELIVERABLE DECISIONS ARE EFFECTED BY... Monday, July 30, 12

Slide 59

Slide 59 text

Educated clients (or more trusting and open-minded ones) may be open to deliverables closer to what we’ve described in our current process. DELIVERABLES Monday, July 30, 12

Slide 60

Slide 60 text

Some people will inevitably want to see more and more versions of wireframes and layouts which cover multiple screen sizes... I recommend getting paid for that. DELIVERABLES Monday, July 30, 12

Slide 61

Slide 61 text

RWD TECHNIQUES Monday, July 30, 12

Slide 62

Slide 62 text

RESPONSIVE WEB DESIGN A FLUID GRID FLEXIBLE CONTENT MEDIA QUERIES Monday, July 30, 12

Slide 63

Slide 63 text

RESPONSIVE WEB DESIGN A FLUID FOUNDATION Monday, July 30, 12

Slide 64

Slide 64 text

RESPONSIVE WEB DESIGN A FLUID FOUNDATION .span-1 { width: 90px; } .span-1 { width: ??%; } FIXED-WIDTH FLUID 300px wide grid Monday, July 30, 12

Slide 65

Slide 65 text

RESPONSIVE WEB DESIGN A FLUID FOUNDATION .span-1 { width: 90px; } .span-1 { width: ??%; } FIXED-WIDTH FLUID target / context = % Monday, July 30, 12

Slide 66

Slide 66 text

RESPONSIVE WEB DESIGN A FLUID FOUNDATION .span-1 { width: 90px; } .span-1 { width: 30%; } FIXED-WIDTH 90 / 300 = .3 FLUID target / context = % Monday, July 30, 12

Slide 67

Slide 67 text

IE & Rounding RESPONSIVE WEB DESIGN A FLUID FOUNDATION Monday, July 30, 12

Slide 68

Slide 68 text

Turn a 300px 3-column grid into a fluid grid. br-1.html RESPONSIVE WEB DESIGN A FLUID FOUNDATION http://bit.ly/LWLTEA /01-RWD101 Monday, July 30, 12

Slide 69

Slide 69 text

www.semantic.gs with LESS or SASS RESPONSIVE WEB DESIGN A FLUID FOUNDATION Monday, July 30, 12

Slide 70

Slide 70 text

RESPONSIVE WEB DESIGN FLEXIBLE CONTENT Images br-3.html The awesome poem is by a guy named Douglas, check him out at: http://ligzpoems.blogspot.com/ Monday, July 30, 12

Slide 71

Slide 71 text

img { float: right; max-width: 100%; } RESPONSIVE WEB DESIGN FLEXIBLE CONTENT Monday, July 30, 12

Slide 72

Slide 72 text

Width, height Device-width, device-height Orientation Aspect ratio Several others http://www.w3.org/TR/css3-mediaqueries/ RESPONSIVE WEB DESIGN MEDIA QUERIES Monday, July 30, 12

Slide 73

Slide 73 text

@media (min-width: 600px) { /* styles for 600px and up */ } @media (max-width: 600px) { /* styles for 600px and down */ } RESPONSIVE WEB DESIGN MEDIA QUERIES Monday, July 30, 12

Slide 74

Slide 74 text

/* Large Resolution First CSS File Structure */ /* large resolution layouts here */ @media (max-width: 850px) { /* styles for 850px and down */ } @media (max-width: 450px) { /* styles for 450px and down */ } RESPONSIVE WEB DESIGN MEDIA QUERIES Monday, July 30, 12

Slide 75

Slide 75 text

/* Small Resolution First CSS File Structure */ /* smallest resolution layouts here */ @media (min-width: 450px) { /* styles for 450px and up */ } @media (min-width: 850px) { /* styles for 850px and up */ } RESPONSIVE WEB DESIGN MEDIA QUERIES Monday, July 30, 12

Slide 76

Slide 76 text

LARGE RESOLUTION FIRST PRO: IE support by default CON: Smallest devices load all assets SMALL RESOLUTION FIRST PRO: More logical (build up vs tear down) CON: IE support is tricky RESPONSIVE WEB DESIGN MEDIA QUERIES Monday, July 30, 12

Slide 77

Slide 77 text

RESPONSIVE WEB DESIGN MEDIA QUERIES Throw in a media query! br-4.html Monday, July 30, 12

Slide 78

Slide 78 text

A FLUID GRID FLEXIBLE CONTENT MEDIA QUERIES WRAP UP Monday, July 30, 12

Slide 79

Slide 79 text

RESPONSIVE CHALLENGES Monday, July 30, 12

Slide 80

Slide 80 text

RESPONSIVE CHALLENGES IMAGES ADS BIG TABLES COMPLEX NAVIGATION PROCESS Monday, July 30, 12

Slide 81

Slide 81 text

RESPONSIVE CHALLENGES IMAGES ADS BIG TABLES COMPLEX NAVIGATION PROCESS Monday, July 30, 12

Slide 82

Slide 82 text

RESPONSIVE CHALLENGES IMAGES ADS BIG TABLES COMPLEX NAVIGATION PROCESS Monday, July 30, 12

Slide 83

Slide 83 text

RESPONSIVE CHALLENGES IMAGES ADS BIG TABLES COMPLEX NAVIGATION PROCESS Monday, July 30, 12

Slide 84

Slide 84 text

RESPONSIVE CHALLENGES IMAGES ADS BIG TABLES COMPLEX NAVIGATION PROCESS Monday, July 30, 12

Slide 85

Slide 85 text

WHAT’S NEXT Monday, July 30, 12

Slide 86

Slide 86 text

THE RESPONSIVE DIP Monday, July 30, 12

Slide 87

Slide 87 text

Monday, July 30, 12

Slide 88

Slide 88 text

THE DIP Monday, July 30, 12

Slide 89

Slide 89 text

Unconscious Incompetence Conscious Incompetence Conscious Competence Unconscious Competence STAGES OF COMPETENCE Monday, July 30, 12

Slide 90

Slide 90 text

THE RESPONSIVE DIP http://bit.ly/MasqBk Monday, July 30, 12

Slide 91

Slide 91 text

THE RESPONSIVE MINDSET Monday, July 30, 12

Slide 92

Slide 92 text

“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/ Monday, July 30, 12

Slide 93

Slide 93 text

MOVE BEYOND THE TECHNIQUES Monday, July 30, 12

Slide 94

Slide 94 text

• MOBILE FIRST PROCESS • PERFORMANCE AS A FEATURE • THE SERVER IS OUR FRIEND • MODULAR CONTENT SYSTEMS MOVE BEYOND Monday, July 30, 12

Slide 95

Slide 95 text

PUSH THROUGH Monday, July 30, 12

Slide 96

Slide 96 text

BUILDRESPONSIVELY.COM 10% OFF DISCOUNT CODE: EDU12 CLEVELAND: 8/5 PITTSBURGH: 8/8 GRAND RAPIDS: 8/15 Monday, July 30, 12

Slide 97

Slide 97 text

HANDS-ON RESPONSIVE WEB DESIGN Ben Callahan // @bencallahan Sparkbox // seesparkbox.com Monday, July 30, 12