SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Developing for Responsive Design
Frederic Welterlin
Senior Presentation Layer Architect
San Francisco
Agenda

• What is Responsive Design?
 – How did we get here?
 – Why should we care?
• Crafting a Responsive User Experience
 – The Flexible Grid
 – Flexible Media
 – Media Queries
• When is Responsive Design Warranted?
 – Yes! and… Not Really
 – Ford Motor Company Example
 – Airline Industry Example
• Conclusions
 – Some Thoughts
 – What is Responsive Design?
 – Thanks
What is Responsive Design?
How did we get here?
“We should work toward a universal
linked information system, in which
generality and portability are more
important than fancy graphics
techniques and complex
extra facilities.”

Tim Berners-Lee original WWW proposal.
(http://www.w3.org/History/1989/proposal.html)
“…balancing the needs of designers
for a sophisticated set of presentation
and interactive features against the
desire to make the Web accessible to
the largest possible number of
browsers (and other client
devices) and environments.”
© 1998-2001 Web Standards Project
(http://archive.webstandards.org/mission.html)
So the question is…
San Francisco MUNI
Friday, June 8, 2012
The Players
RESPONSIVE DESIGN
“is a web development approach that
suggests that design and development
should respond to the user’s behavior
and environment based on screen size,
platform and orientation.”

- Kayla Knight
http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-
web-design/
Why should we care?
Crafting a Responsive User Experience
The Birth of Responsive Design

The term “Responsive Design” was first introduced in Ethan’s
A List Apart article:

http://www.alistapart.com/articles/responsive-web-design/




                      Subsequently, he wrote:

                      Responsive Web Design
                      Ethan Marcotte
The Flexible Grid
The Flexible Grid
The Flexible Grid

 Gridpack
 http://gridpak.com/


 FRAMELESS
 http://framelessgrid.com/


 960 Grid System
 http://960.gs/


 There are so many…..
 http://www.awwwards.com/grid-based-web-design-resources.html
Other Tools, like CSS Preprocessors (LESS, SASS, Stylus)

  SASS (syntactically awesome style sheets)
  Sass is a meta-language on top of CSS that’s used to describe the style of a document
  cleanly and structurally, with more power than flat CSS allows.
  http://sass-lang.com/

  Extends CSS with dynamic behavior…

  -   Variables
  -   Nesting
  -   Mixins
  -   Operations
  -   Selector Inheritance
  -   Etc
Examples “borrowed” directly from SASS web site
 Variables                       Nesting
 $blue: #3bbfce;                 table.foo {
 $margin: 16px;                     margin: 2em;
 .content-navigation {              td.bar {
     border-color: $blue;              text-align: right;
     color: darken($blue, 9%);      }
 }                               }
 .border {
     margin: $margin / 2;
     border-color: $blue;
 }

 .content-navigation {           table.foo {
     border-color: #3bbfce;         margin: 2em;
     color: #2b9eab;             }
 }
 .border {                       table.foo td.bar {
     margin: 8px;                   text-align: right;
     border-color: #3bbfce;      }
 }
Flexible Media




         img, embed, object, video {
              max-width:100%;
         }
Media Queries
CSS3 Media Queries expands on the role of the traditional CSS2
“media” attribute with specific parameters that control how your
styles are applied for various devices.

@media screen and (max-width: 480px) {
     .foo {
            float: left;
     }
     .bar {
            margin: 0;
            border: 4px solid #666;
     }
}
Media Queries

@media screen and (min-width: 320px)           { insert CSS for SmartPhone portrait… }

@media screen and (min-width: 480px)           { insert CSS for SmartPhone landscape… }

@media screen and (min-width: 768px)           { insert CSS for iPad portrait… }

@media screen and (min-width: 1024px) { insert CSS for iPad landscape… }

@media screen and (min-width: 1200px) { insert CSS for desktop… }




(disclaimer: these measurements are simplified for illustrative purposes :-)
Media Queries




So… who is this guy??
Media Queries

http://www.thismanslife.co.uk/
projects/lab/responsiveillustration/
James Mellers
When is Responsive Design Warranted?
When is Responsive Design Warranted?
• YES!
  – Content focused sites: information travels in one
   direction, from source to user…
   »Newspapers
   »Magazines

• Not Really…
 –Transactional sites: complex applications that utilize
  workflows and user input…
  »Banking Applications
  »Airline Ticketing
Yes!

The business advantages of using Responsive
Design…
• One code base (less maintenance, saves money)
• Device agnostic
• Improved SEO
• Possibility of using “mobile first” approach
Ford - Support Site (http://support.ford.com/)
Not really…

The business disadvantages of using
Responsive Design…
• Does not address differing user needs between
  device usage
• Performance (un-needed markup is still being
  sent)
• Pixel perfect expectations are shattered
• Need to support legacy (non HTML5/CSS3)
  devices
www.united.com
Device: Desktop
Goal: Research Trip to NC
Task: Find/Review Flight
        Dates, Options,
        Connections
www.united.com
Device: Desktop
Goal: Research Trip to NC
Task: Get Mileage Balance
        Review Status Upgrade
www.united.com
Device: Desktop
Goal: Research Trip to NC
Task: Sign-Up for Credit Card?
www.united.com
Device: Desktop
Goal: Research Trip to NC
Task: Review Deals and
        Vacation Packages
mobile.united.com
Device: SmartPhone
Goal: Travel to New York City
Task: Go to Mobile Site
mobile.united.com
Device: SmartPhone
Goal: Travel to New York City
Task: Get Flight Status
mobile.united.com
Device: SmartPhone
Goal: Travel to New York City
Task: Check In, get Mobile Boarding
        Pass
mobile.united.com
Device: SmartPhone
Goal: Travel to New York City
Task: Review Itinerary
Yeah… but Fred, isn’t what
you just showed an example
of being “responsive?”
Conclusions
Some Thoughts…

• “Responsive design” is a marketing term, and should be
  used with caution.

• Razorfish tailors technology solutions around user
  experience and business needs (and not the other way
  around).

• Responsive design is still in its infancy. Future visionaries
  and architects will continue to iterate on the “one code
  base” concept. Responsive architecture?
RESPONSIVE DESIGN
is a web development approach that
suggests that design and development
should respond to the user’s business or
task oriented needs, in conjunction with
device usage.

- Fred Welterlin
Thank You

• Thanks and respect to the following individuals…

 – James Walton and Michael Calfee (Razorfish, Austin, TX)
 – Ralph Brandi (Razorfish, New York, NY)

 – Ethan Marcotte (author, “Responsive Design”)
 – Ray Velez/Chris Stetson (Razorfish executive sponsors of this presentation)

Weitere ähnliche Inhalte

Ähnlich wie Developing for Responsive Design - Frederic Welterlin

Responsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get StartedResponsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get Started
jennybchicken
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
Shawn Calvert
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
Justin Avery
 
Devon 2011-f-1 반응형 웹 디자인
Devon 2011-f-1  반응형 웹 디자인Devon 2011-f-1  반응형 웹 디자인
Devon 2011-f-1 반응형 웹 디자인
Daum DNA
 

Ähnlich wie Developing for Responsive Design - Frederic Welterlin (20)

Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18
 
Responsive Web Design - Devoxx UK - 2014-06-13
Responsive Web Design - Devoxx UK - 2014-06-13Responsive Web Design - Devoxx UK - 2014-06-13
Responsive Web Design - Devoxx UK - 2014-06-13
 
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
 
Design
DesignDesign
Design
 
Responsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get StartedResponsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get Started
 
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
 
Leverage Your Online Web Presence
Leverage Your Online Web PresenceLeverage Your Online Web Presence
Leverage Your Online Web Presence
 
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
 
Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012
 
Responsive Web Design & APEX Theme 25 (OGh APEX World 2014)
Responsive Web Design & APEX Theme 25 (OGh APEX World 2014)Responsive Web Design & APEX Theme 25 (OGh APEX World 2014)
Responsive Web Design & APEX Theme 25 (OGh APEX World 2014)
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
CSS3: Simply Responsive
CSS3: Simply ResponsiveCSS3: Simply Responsive
CSS3: Simply Responsive
 
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake OilCSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
 
Devon 2011-f-1 반응형 웹 디자인
Devon 2011-f-1  반응형 웹 디자인Devon 2011-f-1  반응형 웹 디자인
Devon 2011-f-1 반응형 웹 디자인
 
Responsive Web Design & APEX Theme 25
Responsive Web Design & APEX Theme 25Responsive Web Design & APEX Theme 25
Responsive Web Design & APEX Theme 25
 
Digibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David WalkerDigibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David Walker
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 

Mehr von Razorfish

Razorfish 2014 Tech Summit - Kick-off by Global CTO Ray Velez
Razorfish 2014 Tech Summit - Kick-off by Global CTO Ray VelezRazorfish 2014 Tech Summit - Kick-off by Global CTO Ray Velez
Razorfish 2014 Tech Summit - Kick-off by Global CTO Ray Velez
Razorfish
 

Mehr von Razorfish (18)

Razorfish Global Tech Summit 2015 - The Third Channel Razorfish
Razorfish Global Tech Summit 2015 - The Third Channel RazorfishRazorfish Global Tech Summit 2015 - The Third Channel Razorfish
Razorfish Global Tech Summit 2015 - The Third Channel Razorfish
 
Razorfish Global Tech Summit 2015 - Emerging Experiences Razorfish
Razorfish Global Tech Summit 2015 - Emerging Experiences RazorfishRazorfish Global Tech Summit 2015 - Emerging Experiences Razorfish
Razorfish Global Tech Summit 2015 - Emerging Experiences Razorfish
 
Razorfish Global Tech Summit 2015 - David Iudica, Yahoo
Razorfish Global Tech Summit 2015 - David Iudica, YahooRazorfish Global Tech Summit 2015 - David Iudica, Yahoo
Razorfish Global Tech Summit 2015 - David Iudica, Yahoo
 
Razorfish Global Tech Summit 2015 - Ray Velez, Welcome
Razorfish Global Tech Summit 2015 - Ray Velez, WelcomeRazorfish Global Tech Summit 2015 - Ray Velez, Welcome
Razorfish Global Tech Summit 2015 - Ray Velez, Welcome
 
Razorfish 2014 Tech Summit - Kick-off by Global CTO Ray Velez
Razorfish 2014 Tech Summit - Kick-off by Global CTO Ray VelezRazorfish 2014 Tech Summit - Kick-off by Global CTO Ray Velez
Razorfish 2014 Tech Summit - Kick-off by Global CTO Ray Velez
 
Razorfish 2014 Tech Summit - Global Solution Management Lead at hybris David ...
Razorfish 2014 Tech Summit - Global Solution Management Lead at hybris David ...Razorfish 2014 Tech Summit - Global Solution Management Lead at hybris David ...
Razorfish 2014 Tech Summit - Global Solution Management Lead at hybris David ...
 
Razorfish 2014 Tech Summit - Senior Director, Product Management at Qualcomm ...
Razorfish 2014 Tech Summit - Senior Director, Product Management at Qualcomm ...Razorfish 2014 Tech Summit - Senior Director, Product Management at Qualcomm ...
Razorfish 2014 Tech Summit - Senior Director, Product Management at Qualcomm ...
 
Razorfish 2014 Tech Summit - Director, Social Technologies at Razorfish Rafi ...
Razorfish 2014 Tech Summit - Director, Social Technologies at Razorfish Rafi ...Razorfish 2014 Tech Summit - Director, Social Technologies at Razorfish Rafi ...
Razorfish 2014 Tech Summit - Director, Social Technologies at Razorfish Rafi ...
 
Razorfish 2014 Tech Summit - Group VP Technology at Razorfish Martin Jacobs
Razorfish 2014 Tech Summit - Group VP Technology at Razorfish Martin JacobsRazorfish 2014 Tech Summit - Group VP Technology at Razorfish Martin Jacobs
Razorfish 2014 Tech Summit - Group VP Technology at Razorfish Martin Jacobs
 
Razorfish 2014 Tech Summit - Senior Principal Scientist at Adobe Roy Fielding
Razorfish 2014 Tech Summit - Senior Principal Scientist at Adobe Roy Fielding Razorfish 2014 Tech Summit - Senior Principal Scientist at Adobe Roy Fielding
Razorfish 2014 Tech Summit - Senior Principal Scientist at Adobe Roy Fielding
 
Razorfish Scrum for Teams and Organizations Software Architect Conference 2013
Razorfish Scrum for Teams and Organizations Software Architect Conference 2013Razorfish Scrum for Teams and Organizations Software Architect Conference 2013
Razorfish Scrum for Teams and Organizations Software Architect Conference 2013
 
Razorfish nfc technologies presentation 2013
Razorfish nfc technologies presentation 2013Razorfish nfc technologies presentation 2013
Razorfish nfc technologies presentation 2013
 
Ektron CMS Developers Meetup San Francisco
Ektron CMS Developers Meetup San FranciscoEktron CMS Developers Meetup San Francisco
Ektron CMS Developers Meetup San Francisco
 
Building an Ecosystem for Web Apps
Building an Ecosystem for Web AppsBuilding an Ecosystem for Web Apps
Building an Ecosystem for Web Apps
 
Open Digital Services - Basel Salloum & Salim Hemdani
Open Digital Services - Basel Salloum & Salim HemdaniOpen Digital Services - Basel Salloum & Salim Hemdani
Open Digital Services - Basel Salloum & Salim Hemdani
 
Unilever: Greenhouse - Norm Driskell
Unilever: Greenhouse - Norm DriskellUnilever: Greenhouse - Norm Driskell
Unilever: Greenhouse - Norm Driskell
 
Apps Everywhere - Mike Scafidi and Paul Gelb
Apps Everywhere - Mike Scafidi and Paul GelbApps Everywhere - Mike Scafidi and Paul Gelb
Apps Everywhere - Mike Scafidi and Paul Gelb
 
Introduction: The Pace of Change - Ray Velez
Introduction: The Pace of Change - Ray VelezIntroduction: The Pace of Change - Ray Velez
Introduction: The Pace of Change - Ray Velez
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Developing for Responsive Design - Frederic Welterlin

  • 1. Developing for Responsive Design Frederic Welterlin Senior Presentation Layer Architect San Francisco
  • 2. Agenda • What is Responsive Design? – How did we get here? – Why should we care? • Crafting a Responsive User Experience – The Flexible Grid – Flexible Media – Media Queries • When is Responsive Design Warranted? – Yes! and… Not Really – Ford Motor Company Example – Airline Industry Example • Conclusions – Some Thoughts – What is Responsive Design? – Thanks
  • 3. What is Responsive Design? How did we get here?
  • 4. “We should work toward a universal linked information system, in which generality and portability are more important than fancy graphics techniques and complex extra facilities.” Tim Berners-Lee original WWW proposal. (http://www.w3.org/History/1989/proposal.html)
  • 5. “…balancing the needs of designers for a sophisticated set of presentation and interactive features against the desire to make the Web accessible to the largest possible number of browsers (and other client devices) and environments.” © 1998-2001 Web Standards Project (http://archive.webstandards.org/mission.html)
  • 9. RESPONSIVE DESIGN “is a web development approach that suggests that design and development should respond to the user’s behavior and environment based on screen size, platform and orientation.” - Kayla Knight http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive- web-design/
  • 10. Why should we care?
  • 11.
  • 12. Crafting a Responsive User Experience
  • 13. The Birth of Responsive Design The term “Responsive Design” was first introduced in Ethan’s A List Apart article: http://www.alistapart.com/articles/responsive-web-design/ Subsequently, he wrote: Responsive Web Design Ethan Marcotte
  • 16. The Flexible Grid Gridpack http://gridpak.com/ FRAMELESS http://framelessgrid.com/ 960 Grid System http://960.gs/ There are so many….. http://www.awwwards.com/grid-based-web-design-resources.html
  • 17. Other Tools, like CSS Preprocessors (LESS, SASS, Stylus) SASS (syntactically awesome style sheets) Sass is a meta-language on top of CSS that’s used to describe the style of a document cleanly and structurally, with more power than flat CSS allows. http://sass-lang.com/ Extends CSS with dynamic behavior… - Variables - Nesting - Mixins - Operations - Selector Inheritance - Etc
  • 18. Examples “borrowed” directly from SASS web site Variables Nesting $blue: #3bbfce; table.foo { $margin: 16px; margin: 2em; .content-navigation { td.bar { border-color: $blue; text-align: right; color: darken($blue, 9%); } } } .border { margin: $margin / 2; border-color: $blue; } .content-navigation { table.foo { border-color: #3bbfce; margin: 2em; color: #2b9eab; } } .border { table.foo td.bar { margin: 8px; text-align: right; border-color: #3bbfce; } }
  • 19. Flexible Media img, embed, object, video { max-width:100%; }
  • 20. Media Queries CSS3 Media Queries expands on the role of the traditional CSS2 “media” attribute with specific parameters that control how your styles are applied for various devices. @media screen and (max-width: 480px) { .foo { float: left; } .bar { margin: 0; border: 4px solid #666; } }
  • 21. Media Queries @media screen and (min-width: 320px) { insert CSS for SmartPhone portrait… } @media screen and (min-width: 480px) { insert CSS for SmartPhone landscape… } @media screen and (min-width: 768px) { insert CSS for iPad portrait… } @media screen and (min-width: 1024px) { insert CSS for iPad landscape… } @media screen and (min-width: 1200px) { insert CSS for desktop… } (disclaimer: these measurements are simplified for illustrative purposes :-)
  • 22. Media Queries So… who is this guy??
  • 24. When is Responsive Design Warranted?
  • 25. When is Responsive Design Warranted? • YES! – Content focused sites: information travels in one direction, from source to user… »Newspapers »Magazines • Not Really… –Transactional sites: complex applications that utilize workflows and user input… »Banking Applications »Airline Ticketing
  • 26. Yes! The business advantages of using Responsive Design… • One code base (less maintenance, saves money) • Device agnostic • Improved SEO • Possibility of using “mobile first” approach
  • 27. Ford - Support Site (http://support.ford.com/)
  • 28. Not really… The business disadvantages of using Responsive Design… • Does not address differing user needs between device usage • Performance (un-needed markup is still being sent) • Pixel perfect expectations are shattered • Need to support legacy (non HTML5/CSS3) devices
  • 29. www.united.com Device: Desktop Goal: Research Trip to NC Task: Find/Review Flight Dates, Options, Connections
  • 30. www.united.com Device: Desktop Goal: Research Trip to NC Task: Get Mileage Balance Review Status Upgrade
  • 31. www.united.com Device: Desktop Goal: Research Trip to NC Task: Sign-Up for Credit Card?
  • 32. www.united.com Device: Desktop Goal: Research Trip to NC Task: Review Deals and Vacation Packages
  • 33. mobile.united.com Device: SmartPhone Goal: Travel to New York City Task: Go to Mobile Site
  • 34. mobile.united.com Device: SmartPhone Goal: Travel to New York City Task: Get Flight Status
  • 35. mobile.united.com Device: SmartPhone Goal: Travel to New York City Task: Check In, get Mobile Boarding Pass
  • 36. mobile.united.com Device: SmartPhone Goal: Travel to New York City Task: Review Itinerary
  • 37. Yeah… but Fred, isn’t what you just showed an example of being “responsive?”
  • 39. Some Thoughts… • “Responsive design” is a marketing term, and should be used with caution. • Razorfish tailors technology solutions around user experience and business needs (and not the other way around). • Responsive design is still in its infancy. Future visionaries and architects will continue to iterate on the “one code base” concept. Responsive architecture?
  • 40. RESPONSIVE DESIGN is a web development approach that suggests that design and development should respond to the user’s business or task oriented needs, in conjunction with device usage. - Fred Welterlin
  • 41. Thank You • Thanks and respect to the following individuals… – James Walton and Michael Calfee (Razorfish, Austin, TX) – Ralph Brandi (Razorfish, New York, NY) – Ethan Marcotte (author, “Responsive Design”) – Ray Velez/Chris Stetson (Razorfish executive sponsors of this presentation)