SlideShare a Scribd company logo
RWD
 in the wild
         Please use the hash tag #p80n
                                                             @richquick

         http://www.svethardware.cz/sh/media.nsf/v/93DDE20E82C52910C12572C1007F7915/$file/Jungle_DX10.jpg
RWD
 in the wild
         Please use the hash tag #p80n
                                                             @richquick

         http://www.svethardware.cz/sh/media.nsf/v/93DDE20E82C52910C12572C1007F7915/$file/Jungle_DX10.jpg
Who am I?
Rich Quick
Rich Quick




(before you ask)
Yes
(it is my real name)
Here’s my passport to prove it
Web
Designer
Front end
Developer
12
Years
Work for these guys
RWD in the Wild
RWD in the Wild
RWD in the Wild
Very traditional site
Very traditional site

Designed for desktop
Very traditional site

Designed for desktop

Traditional design process
Very traditional site

Designed for desktop

Traditional design process

Looks “so so”
RWD in the Wild
The
Traditional
Design
Process
The
The Traditional Design Process
The Traditional Design Process


       1



   Big
    Fat
Cheque
   http://www.flickr.com/photos/nznationalparty/6078616366/sizes/z/in/photostream/
2

                                                                                       Have a latte



http://www.designfloat.com/blog/2010/07/21/latte-art-charming-coffee-designs-part-ii/
RWD in the Wild
RWD in the Wild
Do some wireframes   3
Do some wireframes                                                          3   (maybe)




 http://www.flickr.com/photos/rohdesign/3307873748/sizes/m/in/photostream/
Do some wireframes   3
Do some wireframes   3
Do some wireframes   3
Do some wireframes   3
RWD in the Wild
4

Give to the
(ultra cool)
  designer
Who does some Photoshop magic
5

Then the client / your boss sees it
5

Then the client / your boss sees it
                      and loves it    1 st
                                      TIME
5

Then the client / your boss sees it
                      and loves it    91st
                                      TIME
6

Next, the design gets handed over to this guy
6

The geek* / techie* / HTML monkey*
* delete as applicable
He* does a load of geekytechienerdy stuff
       * It a he, obviously.
7


   Big
    Fat
  Final
Cheque
1     Big fat deposit cheque
2       Have a latte
    3     Do some wireframes
4       Photoshop comps
    5     Sign off
6       HTML Monkey does voodoo
    7     Big fat final cheque
1     Big fat deposit cheque
2       Have a latte
    3     Do some wireframes
4       Photoshop comps
    5     Sign off
6       HTML Monkey does voodoo
    7     Big fat final cheque
RWD in the Wild
Traditional


   Print


 Process
RWD in the Wild
Big fat deposit cheque        1

         Have a latte cappuccino      2

              Do some wireframes          3

      Photoshop Indesign comps        4

                           Sign off       5

HTML Monkey Printer does voodoo       6

               Big fat final cheque        7
1   2       3       5




        4       6       7
WHY?
CHAN
GE
DON’T MAKE ME
CHANGE
THE MORE YOU
ASK PEOPLE TO
CHANGE
THE LESS OF THEM

WILL
A web developer (you guys)
Go to the gym twice a day,
eat celery,
run 60 miles a week
Yeah,
Right!
Try a smaller burger, maybe?
var ageOfWebDesignProcess; // in years

if (webDesignProcess == printDesignProcess) {
 echo(‘wtf!’);
 ageOfWebDesignProcess = 572;
}
PEOPLE HATE CHANGE


THAT MUCH    }
Web Designers
Get asked to change
more than most
First I learnt tables.. then that was wrong
Then I learnt Flash.. then that wasn’t cool
Then I learnt CSS..
Then it was accessibility..
Then it was XHTML..
Then it was HTML5..
Now what?!!
Responsive Web Design*
* or adaptive, depending on what book you read
RWD in the Wild
Aww crap!
can I be
  bothered?
some good
  news
some good
  news
it’s really
   easy
there’s just


       1       thing
          you need to learn
Media Queries

@media screen and (min-width:1025px) {
! /* your CSS here */
}
That’s it (pretty much)
At least from a
technical point of view
From a
technical point of view
 Learn 1 line of code
 and you know how to do
 responsive design
From a
technical point of view
 Learn 1 line of code
 and you know how to do
 responsive design
From a
design point of view

 It doesn’t need to be
 much harder
There’s no wrong or right
way to do responsive design

 But here’s how I do it...
Remember the cutlery
in Titanic?
No?
Just start from the outside,
    Jack, and work in
Just start from the outside,
    Jack, and work in
Start in
the “traditional” way
Cheque,
       latte,
wireframes,
Photoshop
Then ask “what if”?
“What if it was
a bit thinner?”
“What if it was
 thinner still?”
RWD in the Wild
When you’re designing


Start from the outside


    and work in
When you’re designing


Start from the outside


    and work in
RWD in the Wild
When coding


Start from the inside


     and work out
It’s way easier


and there’s a hidden


       IE gift
Code
thinnest
first
Then
    code
outwards
Gracefully degrade your design

Progressively enhance your code
   A word about IE
IE <8 doesn’t support @media

Javascript Polyfills (modernizr.js, respond.js, css3-media-queries.js)


                   http://code.google.com/p/css3-mediaqueries-js/
                   https://github.com/scottjehl/Respond
Learn to let go

      Safari, Chrome, Firefox,
      Opera, your fridge


      IE
The IE
Gift
remember
         1
    If you   thing
Remember
    This
           1
Responsive
Web Design
       is...
               1
Really,
 really,
simple
           1
There’s just 1 thing to learn

     @media screen and (min-width:1025px) {
     ! /* your CSS here */
     }
That’s it!

@media screen and (min-width:1025px) {
! /* your CSS here */
}
1 line

@media screen and (min-width:1025px) {
! /* your CSS here */
}
A
Challenge
A (really easy)
Challenge
Make your next
website responsive
Make your next
       /
website responsive
      a bit
Why?
A little bit of
CSS
is better than
NONE
A little bit of
RESPONSIVENESS
is better than
NONE
Here’s
 how
Fixed-width
                                        Layout

http://frontrowconf.com/speakers/
Horizontal
Scrolling
and on
mobile
<div class="columns">
  <section id="content" class="main">
    ...
  </section>
  <aside id="widgets">
    ...
  </aside>
</div>

                                        there’s some
                                          HTML
.columns{

}
  padding-top:70px;    and some
#content{
  float:left;
                        CSS
  width:595px;
  margin: 0 25px;
}

#widgets{
  float:right;
  width:275px;
  margin-right:18px;
}
to make your site responsive

just add media queries
.container{
width:940px;
}                take the
#content {
float: left;
width: 595px;
                 CSS
}               that does
#widgets{
float:right;
width:275px;
                layout
}
Pull it out
plonk it at the end
@media screen and (min-width:970px) {        and
.container{
width:940px;
}                                       whack it
#content {
float: left;
                                              in a
                                          media
width: 595px;
}

#widgets{
float:right;
width:275px;
}
                                          query
}
ta da!
it really is
Scarily
simple
It is just 1 line of code

  @media screen and (min-width:1025px) {
  ! /* your CSS here */
  }
It’s really

Simple
The problem with

Simple
Things is
They can be

Dangerous
They can be

Dangerous
They can be

Dangerous
So, what are the

Dangers?
Designing a layout
Designing a layout
Not a user experience
Not a user experience
Not a user experience
Not a user experience
Not a user experience
Not a user experience
Not a user experience
Not using it?
Dead Dull
Born Again   yay!
Born Again   yay!
The Boring Legacy   pages
The Boring Legacy   pages
Campaign landing pages
How much extra work?
jQuery
RWD in the Wild
RWD in the Wild
RWD in the Wild
Back to
    IE
IE Our experience
IF YOU’RE USING



 IE 6
YOU’RE USING
JAVASCRIPT POLYFILLS



         Kill
      Performance
Add a comment
@media only screen
and (max-height : 920px)
and (min-width : 790px) {

/*ends*/}
Some SED
sed -r -e 's/^@media[^^M]+//' -e 's/^and[^^M]+//' -e 's|/*ends
  */}||' /var/www/html/assets/styles/default.css > /var/www/html/
  assets/styles/default-no-media.css
Unresolved Questions
Mobile First Navigation
Mobile First Navigation
Mobile First Navigation
Mobile First Navigation
Mobile First Navigation
Mobile First Navigation
Advertising
Internal Ads
Paid Ads
Paid Ads
Paid Ads
Some Tips
Some stuff for iPhones (mainly)

      <meta name="viewport" content="width=500" />
Viewport

<meta name="viewport" content="width=500" />
iPhones adjust text size
iPhones adjust text size

body {
  -webkit-text-size-adjust: none;
}
HTML5 form fields

<input   type="text" name="name" />
<input   type="telephone" name="phone" />
<input   type="email" name="email" />
<input   type="search" name="search" />
<input   type="url" name="website" />
Why bother?

<input   type="text" name="name" />
<input   type="telephone" name="phone" />
<input   type="email" name="email" />
<input   type="search" name="search" />
<input   type="url" name="website" />
Why bother?

   Because it’s there

<input   type="text" name="name" />
<input   type="tel" name="phone" />
<input   type="email" name="email" />
<input   type="search" name="search" />
<input   type="url" name="website" />
Why bother?

Because it’s there
phones can change the keyboard


<input type="email" name="email" />
support in “older browsers”*


     <input type="email" name="email" />




                                      * cough - IE - cough
treated like type="text"


  <input type="text" name="email" />
Safari changes it

-webkit-appearance: textfield;
responsive images
hardboil for an easier life
hardboil for an easier life
CSS3 for a lovlier life
RWD in the Wild
TO
1.
     It’s
stupidly
   easy
2.
        But there’s
still a lot to learn
3. Gracefully
degrade your
      designs
4. Progressively
enhance your
code
5. It’s just 1 line
          of code!
6. Have a latte
1. It’s mind-numbingly easy
2. But there’s still a lot to learn
3. Gracefully degrade your designs
4. Progressively enhance your code
5. It’s just 1 line of code
6. Latte
Books
  Adaptive Web Design
  Aaron Gustafson

  Responsive Web Design
  Ethan Marcote
Thanks
                Rich Quick
                 @richquick
           rich@richquick.tv

http://www.richquick.tv/p80n

More Related Content

KEY
Topsy Turvy Design
PDF
Responsive Web Design Tutorial PDF for Beginners
ODP
Responsive Web Design - but for real!
PDF
Responsive Design Workflow (Breaking Development Conference 2012 Orlando)
PDF
Web Design Primer Sample - HTML CSS JS
PDF
[O'Reilly] HTML5 Design
KEY
JavaScript For People Who Don't Code
PDF
So…What Do I Make? (Dan Mall)
Topsy Turvy Design
Responsive Web Design Tutorial PDF for Beginners
Responsive Web Design - but for real!
Responsive Design Workflow (Breaking Development Conference 2012 Orlando)
Web Design Primer Sample - HTML CSS JS
[O'Reilly] HTML5 Design
JavaScript For People Who Don't Code
So…What Do I Make? (Dan Mall)

What's hot (20)

PDF
CSS Lessons Learned the Hard Way (Generate Conf)
PDF
[HEWEBAR 2012] Beyond Desktop Browsing (HTML5)
PDF
Responsive Design is Hard/Easy! Be Afraid/Don't Worry!
PDF
Css masterclass book
PDF
Teams, styles and scalable applications
PDF
Atomic Design - An Event Apart San Diego
PPTX
PDF
Beyond Squishy: The Principles of Adaptive Design
PDF
Test-proof CSS
PDF
Atomic Design - BDConf Nashville, 2013
PDF
Brad frost: Atomic design (Webdagene 2014)
PDF
Wordpress Guide
PDF
Stop reinventing the wheel: Build Responsive Websites Using Bootstrap
PDF
[edUi] HTML5 Workshop
PDF
Style Guides, Pattern Libraries, Design Systems and other amenities.
PDF
Use atomic design ftw
PDF
Rapid HTML Prototyping with Bootstrap - Chris Griffith
PDF
Finding harmony in web development
PDF
Improving the Responsive Web Design Process in 2016
PDF
Punch it Up with HTML and CSS
CSS Lessons Learned the Hard Way (Generate Conf)
[HEWEBAR 2012] Beyond Desktop Browsing (HTML5)
Responsive Design is Hard/Easy! Be Afraid/Don't Worry!
Css masterclass book
Teams, styles and scalable applications
Atomic Design - An Event Apart San Diego
Beyond Squishy: The Principles of Adaptive Design
Test-proof CSS
Atomic Design - BDConf Nashville, 2013
Brad frost: Atomic design (Webdagene 2014)
Wordpress Guide
Stop reinventing the wheel: Build Responsive Websites Using Bootstrap
[edUi] HTML5 Workshop
Style Guides, Pattern Libraries, Design Systems and other amenities.
Use atomic design ftw
Rapid HTML Prototyping with Bootstrap - Chris Griffith
Finding harmony in web development
Improving the Responsive Web Design Process in 2016
Punch it Up with HTML and CSS
Ad

Similar to RWD in the Wild (20)

KEY
Topsy Turvy Design: Adapting your design process for adaptive layout
KEY
The future of BYU web design
PDF
Web designtrends 5-29-2013
PDF
Responsive Design
PDF
Responsive Websites
PDF
Monkeytalk Fall 2012 - Responsive Web Design
PDF
CSS3: Using media queries to improve the web site experience
PDF
Responsive Web Design
PPTX
Talk 03 responsive-web-design
PDF
CSS3: Simply Responsive
PDF
CSS3, Media Queries, and Responsive Design
PDF
responsive awareness
PDF
Introduction to Responsive Design v.2
PDF
Adapting to Responsive Design - HCID2014, 24 April 2014
PDF
HCID2014: Adapting to responsive web design. Matt Gibson, Cyber-duck
PDF
Responsive webdesign
PDF
Responsive Webdesign - UXtour Microsoft
PDF
Responsive Web Design Whitepaper
PDF
Responsive Design Tools & Resources
PPT
Mobile Monday Presentation: Responsive Web Design
Topsy Turvy Design: Adapting your design process for adaptive layout
The future of BYU web design
Web designtrends 5-29-2013
Responsive Design
Responsive Websites
Monkeytalk Fall 2012 - Responsive Web Design
CSS3: Using media queries to improve the web site experience
Responsive Web Design
Talk 03 responsive-web-design
CSS3: Simply Responsive
CSS3, Media Queries, and Responsive Design
responsive awareness
Introduction to Responsive Design v.2
Adapting to Responsive Design - HCID2014, 24 April 2014
HCID2014: Adapting to responsive web design. Matt Gibson, Cyber-duck
Responsive webdesign
Responsive Webdesign - UXtour Microsoft
Responsive Web Design Whitepaper
Responsive Design Tools & Resources
Mobile Monday Presentation: Responsive Web Design
Ad

Recently uploaded (20)

PDF
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
PDF
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
PDF
Africa 2025 - Prospects and Challenges first edition.pdf
PDF
Quality Control Management for RMG, Level- 4, Certificate
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
12. Community Pharmacy and How to organize it
PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PDF
Wio LTE JP Version v1.3b- 4G, Cat.1, Espruino Compatible\202001935, PCBA;Wio ...
PPTX
HPE Aruba-master-icon-library_052722.pptx
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PPTX
An introduction to AI in research and reference management
DOCX
The story of the first moon landing.docx
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PPTX
DOC-20250430-WA0014._20250714_235747_0000.pptx
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PPTX
6- Architecture design complete (1).pptx
PPTX
areprosthodontics and orthodonticsa text.pptx
PPTX
AD Bungalow Case studies Sem 2.pptxvwewev
PPTX
Special finishes, classification and types, explanation
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
Africa 2025 - Prospects and Challenges first edition.pdf
Quality Control Management for RMG, Level- 4, Certificate
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
12. Community Pharmacy and How to organize it
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
Wio LTE JP Version v1.3b- 4G, Cat.1, Espruino Compatible\202001935, PCBA;Wio ...
HPE Aruba-master-icon-library_052722.pptx
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
An introduction to AI in research and reference management
The story of the first moon landing.docx
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
DOC-20250430-WA0014._20250714_235747_0000.pptx
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
6- Architecture design complete (1).pptx
areprosthodontics and orthodonticsa text.pptx
AD Bungalow Case studies Sem 2.pptxvwewev
Special finishes, classification and types, explanation
mahatma gandhi bus terminal in india Case Study.pptx

RWD in the Wild

Editor's Notes