SlideShare a Scribd company logo
1 of 32
Mobile Development
Web and Django Developer
Seneca College Prof
Boulevard Platform Founder
Justly Done Creator

Tom Aratyn
tom@aratyn.name
Today
        • What is Responsive
          Design
        • What are CSS Media
          Queries
        • Understanding Media
        • Understanding Screens
        • Demos + Resources
Welcome!
Let’s go round the
room




                          What’s your
                     favourite colour?
• Not
What we’re doing…        – Comprehensive and
… and what we’re not       detailed course on CSS
                           Media Queries and
                           Responsive Designe
                       • Are
                         – Give you the basic tools
                           to hack and continue
                           learning
                         – I’ll be around to help out
                           and give advice!
                         – There are also other
                           awesome people in the
                           room! They’ll help too!
―In recent years, I’ve been
The Problem    meeting with more companies
               that request ―an iPhone
               website‖ as part of their

 Ethan         project…But what’s next? An
               iPad website? An N90
               website? Can we really
Marotte        continue to commit to
               supporting each new user
               agent with its own bespoke
     on        experience? At some point,
               this starts to feel like a zero
A List Apart   sum game. But how can we—
                                    ‖
               and our designs—adapt?
The(?) Solution

Responsive
Design     • Fluid Grids
                    – Relative Sizes
                  • Media Queries
                    – Style based on
                      resolution
                  • http://www.alistapart.com/d/r
                    esponsive-web-design/ex/ex-
                    site-FINAL.html
http://mediaqueri.es/



Responsive Web Design
Screenshot of http://mediaqueri.es
Criticism?
It’s multiple designs




              The different sized assets,
            content elimination decisions
             mean that you’re basically
           doing multiple designs anyway
Can Be Data
                Intensive




Does everyone download
     all the designs?
Defeat User
Expectations




       ―One of the biggest bugbears I have with
        responsive design relates to when I am
      used to a particular desktop design, only to
           find that the responsive design is
                 completely different.‖
Desktop Designs Are
  Good Enough




                Goldplating
Other Design
                  Approaches




• Mobile First
• Progressive Enhancement
  •   Modernizr
$0.02




•   Offering a way back to the desktop
    design may make sense.
•   User expectations are in flux – few
    clear idioms yet.
•   Design is about managing tradeoffs
What are CSS Media
                  Queries?


Lets us ―style‖ our content
―right‖ depending on the
    media and size it’s
       displayed on.

       Goodnight!
Media Available
Interface (Click Vs. Touch)
Screen Size
Bandwidth

Some Major Concerns of
Multi-Device Design
Media Types in the             Braille         Embossed
        Spec
http://www.w3.org/TR/CSS21/m
edia.html
                               Handheld            Print




                               Projection         Screen




                                Speech             Tty




                                            TV
Media Types I’ve Seen
Unfortunately I haven’t media
types that are related to
accessibility.                   Print




                                Screen
Different types of
     Screens
Based On Twitter
Bootstrap           Phone       < 767 PX

What
resolution is
on what
                   Tablets    768px – 978 PX
device?


                   Desktops     > 979 PX
What’s In A
                (Mobile) Pixel?



<meta name="viewport"
content="width=320">
<meta name="viewport"
      content="width=device-width‖>
Pixel Density
                  Media Query




(webkit-min-device-pixel-
ratio: 2)
(min-resolution: 2ddpx)
HTML Syntax


<link rel="stylesheet"
      type="text/css‖
      media="screen"
      href=‖awesome-screen.css">
CSS Syntax



@media screen { /* css */ }
@media (max-width: 1024px) {
  /* css code */
}
Let’s Play with Code
Resources
• What browser supports what?
  – http://caniuse.com
• Responsive Layout Patterns
  – http://www.lukew.com/ff/entry.asp?1514
• Initial Responsive Design Article
  – http://www.alistapart.com/articles/respon
    sive-web-design/
Tools
• Twitter Bootstrap
  – Has a lot of features
  – Includes responsive design helpers
  – http://twitter.github.com/bootstrap/index
    .html
• Zurb Foundation 3
  – Specifically a Responsive CSS Framework
  – http://foundation.zurb.com/
• Firefox Responsive Design View
Thank You!

 Questions?
Brainstorming
Project Ideas?

More Related Content

What's hot

TopTenWebTricksForYourSchool
TopTenWebTricksForYourSchoolTopTenWebTricksForYourSchool
TopTenWebTricksForYourSchool
guidecreative
 
Keeping up with the apps
Keeping up with the appsKeeping up with the apps
Keeping up with the apps
sandigroszewski
 
WordPress for NonProfits: Top Ten Elements Every Website Should Have
WordPress for NonProfits: Top Ten Elements Every Website Should HaveWordPress for NonProfits: Top Ten Elements Every Website Should Have
WordPress for NonProfits: Top Ten Elements Every Website Should Have
guidecreative
 

What's hot (15)

Everything Old is New Again: The State of Web Design
Everything Old is New Again: The State of Web DesignEverything Old is New Again: The State of Web Design
Everything Old is New Again: The State of Web Design
 
Web designtrends 5-29-2013
Web designtrends 5-29-2013Web designtrends 5-29-2013
Web designtrends 5-29-2013
 
Strategies for User Experience Design
Strategies for User Experience DesignStrategies for User Experience Design
Strategies for User Experience Design
 
Guidelines for Responsive UX Design 11/16/19
Guidelines for Responsive UX Design 11/16/19Guidelines for Responsive UX Design 11/16/19
Guidelines for Responsive UX Design 11/16/19
 
The Top Ten Elements Every School's Website Should Have
The Top Ten Elements Every School's Website Should HaveThe Top Ten Elements Every School's Website Should Have
The Top Ten Elements Every School's Website Should Have
 
Designing Interfaces (and Wireframes)
Designing Interfaces (and Wireframes)Designing Interfaces (and Wireframes)
Designing Interfaces (and Wireframes)
 
What African Countries Can Teach The World (and What They Can Learn) Susan D...
What	 African Countries Can Teach The World (and What They Can Learn)	Susan D...What	 African Countries Can Teach The World (and What They Can Learn)	Susan D...
What African Countries Can Teach The World (and What They Can Learn) Susan D...
 
UX design for every screen
UX design for every screenUX design for every screen
UX design for every screen
 
The UX Umbrella
The UX UmbrellaThe UX Umbrella
The UX Umbrella
 
TopTenWebTricksForYourSchool
TopTenWebTricksForYourSchoolTopTenWebTricksForYourSchool
TopTenWebTricksForYourSchool
 
UX is not UI
UX is not UIUX is not UI
UX is not UI
 
Keeping up with the apps
Keeping up with the appsKeeping up with the apps
Keeping up with the apps
 
Basics of Interaction Design and Strategy
Basics of Interaction Design and StrategyBasics of Interaction Design and Strategy
Basics of Interaction Design and Strategy
 
Guidelines for Responsive UX Design 07/20/19
Guidelines for Responsive UX Design 07/20/19Guidelines for Responsive UX Design 07/20/19
Guidelines for Responsive UX Design 07/20/19
 
WordPress for NonProfits: Top Ten Elements Every Website Should Have
WordPress for NonProfits: Top Ten Elements Every Website Should HaveWordPress for NonProfits: Top Ten Elements Every Website Should Have
WordPress for NonProfits: Top Ten Elements Every Website Should Have
 

Viewers also liked

Tics power
Tics powerTics power
Tics power
aldilief
 
dr Mitar Lutovac prezentacija
dr Mitar Lutovac prezentacijadr Mitar Lutovac prezentacija
dr Mitar Lutovac prezentacija
dr Mitar Lutovac
 
Tics power
Tics powerTics power
Tics power
aldilief
 
Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries
themystic_ca
 
áLbum de fotografías
áLbum de fotografíasáLbum de fotografías
áLbum de fotografías
Andres Galeano
 
Proposal dan unsur-Unsurnya:
Proposal dan unsur-Unsurnya:Proposal dan unsur-Unsurnya:
Proposal dan unsur-Unsurnya:
Fieda Sweet
 

Viewers also liked (17)

Movies seen by hearts
Movies seen by heartsMovies seen by hearts
Movies seen by hearts
 
Tics power
Tics powerTics power
Tics power
 
Smm продвижение
Smm продвижениеSmm продвижение
Smm продвижение
 
dr Mitar Lutovac prezentacija
dr Mitar Lutovac prezentacijadr Mitar Lutovac prezentacija
dr Mitar Lutovac prezentacija
 
the value of Fire Fox Design
the value of Fire Fox Designthe value of Fire Fox Design
the value of Fire Fox Design
 
Tics power
Tics powerTics power
Tics power
 
Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries
 
Soy uniatlanticense
Soy uniatlanticense Soy uniatlanticense
Soy uniatlanticense
 
Presentacion Microscopios (Daniel Aguilar)
Presentacion Microscopios (Daniel Aguilar)Presentacion Microscopios (Daniel Aguilar)
Presentacion Microscopios (Daniel Aguilar)
 
Nasrat
NasratNasrat
Nasrat
 
Class feedback
Class feedbackClass feedback
Class feedback
 
áLbum de fotografías
áLbum de fotografíasáLbum de fotografías
áLbum de fotografías
 
Dr mitar lutovac ekoturizam
Dr mitar lutovac ekoturizamDr mitar lutovac ekoturizam
Dr mitar lutovac ekoturizam
 
Menulis Puisi
Menulis PuisiMenulis Puisi
Menulis Puisi
 
Proposal dan unsur-Unsurnya:
Proposal dan unsur-Unsurnya:Proposal dan unsur-Unsurnya:
Proposal dan unsur-Unsurnya:
 
Introduction To Git Workshop
Introduction To Git WorkshopIntroduction To Git Workshop
Introduction To Git Workshop
 
La sociedad en red
La sociedad en redLa sociedad en red
La sociedad en red
 

Similar to Responsive Design Talk @ Toronto Dev Derby March

Website redesign
Website redesignWebsite redesign
Website redesign
OptfinITy
 
Getting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web DesignGetting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web Design
martinridgway
 
Dita and Information Architecture for Responsive Design
Dita and Information Architecture for Responsive DesignDita and Information Architecture for Responsive Design
Dita and Information Architecture for Responsive Design
Phil Kneer
 
Introduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignIntroduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesign
ipmindthegap
 
Responsive design lunch and learn
Responsive design lunch and learnResponsive design lunch and learn
Responsive design lunch and learn
Ricardo Queiroz
 

Similar to Responsive Design Talk @ Toronto Dev Derby March (20)

Guide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFutureGuide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFuture
 
Responsive Design for SharePoint
Responsive Design for SharePointResponsive Design for SharePoint
Responsive Design for SharePoint
 
Responsive Design and Joomla!
Responsive Design and Joomla!Responsive Design and Joomla!
Responsive Design and Joomla!
 
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
 
SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013
 
Responsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparisonResponsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparison
 
UX-Driven & Inclusive Data Visualizations
UX-Driven & Inclusive Data VisualizationsUX-Driven & Inclusive Data Visualizations
UX-Driven & Inclusive Data Visualizations
 
Griot: Open Source Storytelling Tool
Griot: Open Source Storytelling ToolGriot: Open Source Storytelling Tool
Griot: Open Source Storytelling Tool
 
Web UI Design Patterns 2014
Web UI Design Patterns 2014Web UI Design Patterns 2014
Web UI Design Patterns 2014
 
Bank Chris - Web UI Design Patterns - 2014
Bank Chris - Web UI Design Patterns - 2014Bank Chris - Web UI Design Patterns - 2014
Bank Chris - Web UI Design Patterns - 2014
 
Website redesign
Website redesignWebsite redesign
Website redesign
 
Getting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web DesignGetting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web Design
 
Dita and Information Architecture for Responsive Design
Dita and Information Architecture for Responsive DesignDita and Information Architecture for Responsive Design
Dita and Information Architecture for Responsive Design
 
Responsive Design And You
Responsive Design And YouResponsive Design And You
Responsive Design And You
 
Introduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignIntroduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesign
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Design_2013
Responsive Web Design_2013Responsive Web Design_2013
Responsive Web Design_2013
 
Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practices
 
Responsive design lunch and learn
Responsive design lunch and learnResponsive design lunch and learn
Responsive design lunch and learn
 
MIMA 2014 - Changing your Responsive Design Workflow
MIMA 2014 - Changing your Responsive Design WorkflowMIMA 2014 - Changing your Responsive Design Workflow
MIMA 2014 - Changing your Responsive Design Workflow
 

Recently uploaded

Recently uploaded (20)

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)
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
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?
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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...
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Responsive Design Talk @ Toronto Dev Derby March

  • 2. Web and Django Developer Seneca College Prof Boulevard Platform Founder Justly Done Creator Tom Aratyn tom@aratyn.name
  • 3. Today • What is Responsive Design • What are CSS Media Queries • Understanding Media • Understanding Screens • Demos + Resources
  • 4. Welcome! Let’s go round the room What’s your favourite colour?
  • 5. • Not What we’re doing… – Comprehensive and … and what we’re not detailed course on CSS Media Queries and Responsive Designe • Are – Give you the basic tools to hack and continue learning – I’ll be around to help out and give advice! – There are also other awesome people in the room! They’ll help too!
  • 6. ―In recent years, I’ve been The Problem meeting with more companies that request ―an iPhone website‖ as part of their Ethan project…But what’s next? An iPad website? An N90 website? Can we really Marotte continue to commit to supporting each new user agent with its own bespoke on experience? At some point, this starts to feel like a zero A List Apart sum game. But how can we— ‖ and our designs—adapt?
  • 7. The(?) Solution Responsive Design • Fluid Grids – Relative Sizes • Media Queries – Style based on resolution • http://www.alistapart.com/d/r esponsive-web-design/ex/ex- site-FINAL.html
  • 11. It’s multiple designs The different sized assets, content elimination decisions mean that you’re basically doing multiple designs anyway
  • 12. Can Be Data Intensive Does everyone download all the designs?
  • 13. Defeat User Expectations ―One of the biggest bugbears I have with responsive design relates to when I am used to a particular desktop design, only to find that the responsive design is completely different.‖
  • 14. Desktop Designs Are Good Enough Goldplating
  • 15. Other Design Approaches • Mobile First • Progressive Enhancement • Modernizr
  • 16. $0.02 • Offering a way back to the desktop design may make sense. • User expectations are in flux – few clear idioms yet. • Design is about managing tradeoffs
  • 17. What are CSS Media Queries? Lets us ―style‖ our content ―right‖ depending on the media and size it’s displayed on. Goodnight!
  • 19. Interface (Click Vs. Touch) Screen Size Bandwidth Some Major Concerns of Multi-Device Design
  • 20. Media Types in the Braille Embossed Spec http://www.w3.org/TR/CSS21/m edia.html Handheld Print Projection Screen Speech Tty TV
  • 21. Media Types I’ve Seen Unfortunately I haven’t media types that are related to accessibility. Print Screen
  • 23. Based On Twitter Bootstrap Phone < 767 PX What resolution is on what Tablets 768px – 978 PX device? Desktops > 979 PX
  • 24. What’s In A (Mobile) Pixel? <meta name="viewport" content="width=320"> <meta name="viewport" content="width=device-width‖>
  • 25. Pixel Density Media Query (webkit-min-device-pixel- ratio: 2) (min-resolution: 2ddpx)
  • 26. HTML Syntax <link rel="stylesheet" type="text/css‖ media="screen" href=‖awesome-screen.css">
  • 27. CSS Syntax @media screen { /* css */ } @media (max-width: 1024px) { /* css code */ }
  • 29. Resources • What browser supports what? – http://caniuse.com • Responsive Layout Patterns – http://www.lukew.com/ff/entry.asp?1514 • Initial Responsive Design Article – http://www.alistapart.com/articles/respon sive-web-design/
  • 30. Tools • Twitter Bootstrap – Has a lot of features – Includes responsive design helpers – http://twitter.github.com/bootstrap/index .html • Zurb Foundation 3 – Specifically a Responsive CSS Framework – http://foundation.zurb.com/ • Firefox Responsive Design View

Editor's Notes

  1. http://www.alistapart.com/articles/responsive-web-design/
  2. Needs Cost Benefit Analysis
  3. Need to be careful how you structure your document
  4. Menu’s at the bottom
  5. Blackberries!
  6. Let’s see some code:Index.html
  7. http://en.wikipedia.org/w/index.php?title=File:Vector_Video_Standards4.svgCode samples1. Html-5asside
  8. Html5-ad.html
  9. A physical pixel may not map
  10. Devices with -webkit-min-device-pixel-ratio: 1.0All non-Retina MacsAll non-Retina iOS devicesAcer Iconia A500Samsung Galaxy Tab 10.1Samsung Galaxy SDevices with -webkit-min-device-pixel-ratio: 1.3Google Nexus 7Devices with -webkit-min-device-pixel-ratio: 1.5Google Nexus SSamsung Galaxy S IIHTC DesireHTC Desire HDHTC Incredible SHTC VelocityHTC SensationDevices with -webkit-min-device-pixel-ratio: 2.0iPhone 4iPhone 4SiPhone 5iPad (3rd generation)iPad 4All Macs with Retina displaysGoogle Galaxy NexusGoogle Nexus 4Google Nexus 10Samsung Galaxy S IIISamsung Galaxy Note IISony Xperia SHTC One X