SlideShare a Scribd company logo
RESPONSIVE WEB DESIGN




Tuesday, December 13, 11
DEFINITION
               • Web design that responds to device
                       properties (i.e. dimensions, abilities,
                       orientations, ...)




Tuesday, December 13, 11
DEFINITION
               • Web design that responds to device
                       properties (i.e. dimensions, abilities,
                       orientations, ...)

               • e.g.
                • Reflow layout based on page width



Tuesday, December 13, 11
DEFINITION
               • Web design that responds to device
                       properties (i.e. dimensions, abilities,
                       orientations, ...)

               • e.g.
                • Reflow layout based on page width
                • Style differently for browser vs. print


Tuesday, December 13, 11
DEFINITION
               • Web design that responds to device
                       properties (i.e. dimensions, abilities,
                       orientations, ...)

               • e.g.
                • Reflow layout based on page width
                • Style differently for browser vs. print
                • Adjust styling based on device pixel
                           density

Tuesday, December 13, 11
CSS
                   • Media Queries




Tuesday, December 13, 11
CSS
                   • Media Queries
                   •@media min-width:320px{/**/}




Tuesday, December 13, 11
CSS
                   • Media Queries
                   •@media min-width:320px{/**/}
                   • Applies enclosed CSS only when
                           screen width is at least 320px




Tuesday, December 13, 11
CSS
                   • Media Queries
                   •@media min-width:320px{/**/}
                   • Applies enclosed CSS only when
                           screen width is at least 320px
                   •@media          max-width:320px{/**/}




Tuesday, December 13, 11
CSS
                   • Media Queries
                   •@media min-width:320px{/**/}
                   • Applies enclosed CSS only when
                           screen width is at least 320px
                   •@media max-width:320px{/**/}
                   • Applies enclosed CSS only when
                           screen width is at most 320px


Tuesday, December 13, 11
PHILOSOPHY
                   • Write semantic HTML




Tuesday, December 13, 11
PHILOSOPHY
                   • Write semantic HTML
                   • Choose your supported sizes: 320,
                           480, 768, 1024




Tuesday, December 13, 11
PHILOSOPHY
                   • Write semantic HTML
                   • Choose your supported sizes: 320,
                           480, 768, 1024

                   • Mobile first, or desktop first?



Tuesday, December 13, 11
PHILOSOPHY
                   • Write semantic HTML
                   • Choose your supported sizes: 320,
                           480, 768, 1024

                   • Mobile first, or desktop first?
                    • Mobile first: min-width
                    • Desktop first: max-width

Tuesday, December 13, 11
DEMO



Tuesday, December 13, 11
PHOTOSHOP VS AGILE   WORK IN PHOTOSHOP TO GET A GENERAL FEELING FOR BOTH
                             1024px & 320px. FILL IN THE GAPS WITH AGILE.




Tuesday, December 13, 11
320 STYLES ARE DEFAULT
           body {
             background: url(../images/gradient_background.png)
           }

           a {
             text-decoration: none;
           }

           p {
             font-size: 13px;
             line-height: 19px;
             color: $tos-gray;
           }

           ul {
             padding: 0;
             margin: 0;
           }

           li {
             list-style: none;
           }

           .body_wrapper {
             background: url(../images/gradient_burst.png) transparent top center no-repeat;
             background-size: 100%;
           }

           em {
             font-style: normal;
           }

           h2 {
Tuesday, December 13, 11
480 STYLES – TOO EASY
           @media screen and (min-width: 480px) {
             footer {
               width: 460px;
             }
           }




Tuesday, December 13, 11
768 STYLES
           @media screen and (min-width: 768px) {

              .nav_container .faq {
                display: none;
              }

              .corner_wrappers {
                width: 100%;
                position: absolute;
              }

              .corner_wrappers .corner {
                display: block;
                position: absolute;
                top: 10px;
                left: 10px;
                width: 16px;
                height: 16px;
                background: url(../images/sprites.png) transparent top left no-repeat;
              }

              .corner_wrappers .corner.top_right {
                left:auto;
                right: 10px;
                background: url(../images/sprites.png) transparent 0 0 no-repeat;
              }

                  h1 a {
                  background: url(../images/logo.png) transparent center top no-repeat;
                  background-size: 80%;
                  height: 105px;
              }
Tuesday, December 13, 11
1024 STYLES
           @media screen and (min-width: 1024px) {

              .corner_wrappers .corner.bottom_right {
                position: fixed;
                left:auto;
                top: auto;
                bottom: 10px;
                right: 10px;
                background: url(../images/sprites.png)
              }

              .corner_wrappers .corner.bottom_left {
                position: fixed;
                right: auto;
                top: auto;
                bottom: 10px;
                left: 10px;
                background: url(../images/sprites.png) transparent 0 -15px no-repeat;
              }

              #container {
                width: 950px;
              }

              .nav_container {
                width: 685px;
                margin-top: 20px;
              }

              header {
                height: 73px;
              }
Tuesday, December 13, 11
AN EXAMPLE
                           320px    .shoe_detail .controls {

                                    }
                                      display: none;


                                    @media screen and (min-width: 768px) {
                           768px      .shoe_detail .controls {
                                        display: block;
                                        position: absolute;
                                        top: -20px;
                                        left: 0;
                                        width: 220px;
                                      }
                                    }


                           1024px
                                    @media screen and (min-width: 1024px) {
                                      .shoe_detail .controls {
                                        width: 110px;
                                        top: 120px;
                                      }
                                    }

Tuesday, December 13, 11
RE-FLOW EVERYTHING   INCLUDING THE
                             SHOPPING CART




Tuesday, December 13, 11
TAKES 2-3x AS LONG FOR DESIGN & FRONT-END
                                      USE YOUR TOOLS TO THEIR
                                      MAXIMUM POTENTIAL.




Tuesday, December 13, 11
@mbrandonw           @RoyStan eld
                            iPhone, Web, Math     Designer, CSS, Art




Tuesday, December 13, 11
@mbrandonw           @RoyStan eld
                            iPhone, Web, Math     Designer, CSS, Art




Tuesday, December 13, 11

More Related Content

Similar to Responsive Web Design

Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.
GaziAhsan
 
Intro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresIntro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS features
Andreas Bovens
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
Vitaly Friedman
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
Mike Wilcox
 
Responsive Web Design for Drupal, CMS Expo
Responsive Web Design for Drupal, CMS ExpoResponsive Web Design for Drupal, CMS Expo
Responsive Web Design for Drupal, CMS ExpoEmma Jane Hogbin Westby
 
Responsive Web Design - Drupal Camp CPH
Responsive Web Design - Drupal Camp CPHResponsive Web Design - Drupal Camp CPH
Responsive Web Design - Drupal Camp CPH
Peytz Design
 
Going Responsive with WordPress
Going Responsive with WordPressGoing Responsive with WordPress
Going Responsive with WordPress
James Cryer
 
The specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopThe specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopbetabeers
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinRazorfish
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive Design
Zoe Gillenwater
 
Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012
Tom Hermans
 
Responsive Web Design & Workflow
Responsive Web Design & WorkflowResponsive Web Design & Workflow
Responsive Web Design & Workflow
houhr
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
Joe Seifi
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
Yandex
 
Responsive Design in iMIS Part 2
Responsive Design in iMIS Part 2Responsive Design in iMIS Part 2
Responsive Design in iMIS Part 2
Andrea Robertson
 
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Suzanne Dergacheva
 
Building Responsive Websites with Drupal
Building Responsive Websites with DrupalBuilding Responsive Websites with Drupal
Building Responsive Websites with Drupal
Suzanne Dergacheva
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web DesignZach Leatherman
 

Similar to Responsive Web Design (20)

Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.
 
Intro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresIntro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS features
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
05 Mobile CSS
05 Mobile CSS05 Mobile CSS
05 Mobile CSS
 
Responsive Web Design for Drupal, CMS Expo
Responsive Web Design for Drupal, CMS ExpoResponsive Web Design for Drupal, CMS Expo
Responsive Web Design for Drupal, CMS Expo
 
Responsive Web Design - Drupal Camp CPH
Responsive Web Design - Drupal Camp CPHResponsive Web Design - Drupal Camp CPH
Responsive Web Design - Drupal Camp CPH
 
Going Responsive with WordPress
Going Responsive with WordPressGoing Responsive with WordPress
Going Responsive with WordPress
 
The specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopThe specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktop
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive Design
 
Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012
 
Responsive Web Design & Workflow
Responsive Web Design & WorkflowResponsive Web Design & Workflow
Responsive Web Design & Workflow
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
 
Responsive Design in iMIS Part 2
Responsive Design in iMIS Part 2Responsive Design in iMIS Part 2
Responsive Design in iMIS Part 2
 
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
 
Building Responsive Websites with Drupal
Building Responsive Websites with DrupalBuilding Responsive Websites with Drupal
Building Responsive Websites with Drupal
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web Design
 

Recently uploaded

Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 

Recently uploaded (20)

Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 

Responsive Web Design

  • 2. DEFINITION • Web design that responds to device properties (i.e. dimensions, abilities, orientations, ...) Tuesday, December 13, 11
  • 3. DEFINITION • Web design that responds to device properties (i.e. dimensions, abilities, orientations, ...) • e.g. • Reflow layout based on page width Tuesday, December 13, 11
  • 4. DEFINITION • Web design that responds to device properties (i.e. dimensions, abilities, orientations, ...) • e.g. • Reflow layout based on page width • Style differently for browser vs. print Tuesday, December 13, 11
  • 5. DEFINITION • Web design that responds to device properties (i.e. dimensions, abilities, orientations, ...) • e.g. • Reflow layout based on page width • Style differently for browser vs. print • Adjust styling based on device pixel density Tuesday, December 13, 11
  • 6. CSS • Media Queries Tuesday, December 13, 11
  • 7. CSS • Media Queries •@media min-width:320px{/**/} Tuesday, December 13, 11
  • 8. CSS • Media Queries •@media min-width:320px{/**/} • Applies enclosed CSS only when screen width is at least 320px Tuesday, December 13, 11
  • 9. CSS • Media Queries •@media min-width:320px{/**/} • Applies enclosed CSS only when screen width is at least 320px •@media max-width:320px{/**/} Tuesday, December 13, 11
  • 10. CSS • Media Queries •@media min-width:320px{/**/} • Applies enclosed CSS only when screen width is at least 320px •@media max-width:320px{/**/} • Applies enclosed CSS only when screen width is at most 320px Tuesday, December 13, 11
  • 11. PHILOSOPHY • Write semantic HTML Tuesday, December 13, 11
  • 12. PHILOSOPHY • Write semantic HTML • Choose your supported sizes: 320, 480, 768, 1024 Tuesday, December 13, 11
  • 13. PHILOSOPHY • Write semantic HTML • Choose your supported sizes: 320, 480, 768, 1024 • Mobile first, or desktop first? Tuesday, December 13, 11
  • 14. PHILOSOPHY • Write semantic HTML • Choose your supported sizes: 320, 480, 768, 1024 • Mobile first, or desktop first? • Mobile first: min-width • Desktop first: max-width Tuesday, December 13, 11
  • 16. PHOTOSHOP VS AGILE WORK IN PHOTOSHOP TO GET A GENERAL FEELING FOR BOTH 1024px & 320px. FILL IN THE GAPS WITH AGILE. Tuesday, December 13, 11
  • 17. 320 STYLES ARE DEFAULT body { background: url(../images/gradient_background.png) } a { text-decoration: none; } p { font-size: 13px; line-height: 19px; color: $tos-gray; } ul { padding: 0; margin: 0; } li { list-style: none; } .body_wrapper { background: url(../images/gradient_burst.png) transparent top center no-repeat; background-size: 100%; } em { font-style: normal; } h2 { Tuesday, December 13, 11
  • 18. 480 STYLES – TOO EASY @media screen and (min-width: 480px) { footer { width: 460px; } } Tuesday, December 13, 11
  • 19. 768 STYLES @media screen and (min-width: 768px) { .nav_container .faq { display: none; } .corner_wrappers { width: 100%; position: absolute; } .corner_wrappers .corner { display: block; position: absolute; top: 10px; left: 10px; width: 16px; height: 16px; background: url(../images/sprites.png) transparent top left no-repeat; } .corner_wrappers .corner.top_right { left:auto; right: 10px; background: url(../images/sprites.png) transparent 0 0 no-repeat; } h1 a { background: url(../images/logo.png) transparent center top no-repeat; background-size: 80%; height: 105px; } Tuesday, December 13, 11
  • 20. 1024 STYLES @media screen and (min-width: 1024px) { .corner_wrappers .corner.bottom_right { position: fixed; left:auto; top: auto; bottom: 10px; right: 10px; background: url(../images/sprites.png) } .corner_wrappers .corner.bottom_left { position: fixed; right: auto; top: auto; bottom: 10px; left: 10px; background: url(../images/sprites.png) transparent 0 -15px no-repeat; } #container { width: 950px; } .nav_container { width: 685px; margin-top: 20px; } header { height: 73px; } Tuesday, December 13, 11
  • 21. AN EXAMPLE 320px .shoe_detail .controls { } display: none; @media screen and (min-width: 768px) { 768px .shoe_detail .controls { display: block; position: absolute; top: -20px; left: 0; width: 220px; } } 1024px @media screen and (min-width: 1024px) { .shoe_detail .controls { width: 110px; top: 120px; } } Tuesday, December 13, 11
  • 22. RE-FLOW EVERYTHING INCLUDING THE SHOPPING CART Tuesday, December 13, 11
  • 23. TAKES 2-3x AS LONG FOR DESIGN & FRONT-END USE YOUR TOOLS TO THEIR MAXIMUM POTENTIAL. Tuesday, December 13, 11
  • 24. @mbrandonw @RoyStan eld iPhone, Web, Math Designer, CSS, Art Tuesday, December 13, 11
  • 25. @mbrandonw @RoyStan eld iPhone, Web, Math Designer, CSS, Art Tuesday, December 13, 11