SlideShare una empresa de Scribd logo
1 de 37
Responsive Web Design: The View
of the World Depends on the
Glasses I Wear
Paul Laberge
Technical Evangelist
Microsoft Canada
@plaberge
paul.laberge@microsoft.com
How we viewed the web…
• The Desktop Browser
How we view the web today…
•   The Desktop Browser
•   Mobile Browsers
•   Tablet form-factors
•   Televisions
•   Game Consoles
•   More…
•   Yeah, so what’s the problem?
demo
The Anti-Pattern
Responsive Web Design
• Thinking of the user’s needs instead of ours.
• Adapt to various device capabilities instead of
  configurations.
• Help future-proof our sites.
demo
Responsive Web Designs
Elements of Responsive Web Design
•   A flexible, grid-based layout,
•   Flexible images and media, and
•   Media queries.
•   Something else.
Flexible, Grid-based Layout
Ok, so what’s the problem?
•   Non-responsive sites are no fun.
•   Fixed-width sites are not the best experiences.
•   Design tools tend to use pixels.
•   Sometimes a pixel does not equal a pixel.
•   So how do we turn pixels to their em
    counterparts?
Pixels to Ems Algorithm
Responsive Web Design READ MORE >>

     h1 {                                      h1 {
em     font-size: 24px;        24 / 16 = 1.5     font-size: 1.5em;
     }                                         }



     h1 a {                      11 / 24 =     h1 a {
%      font-size: 24px;       0.458333333+       font: 0.458333333+;
     }                                         }
                1                    2                    3
Didn’t You Say Something About a Grid?
Flexible Images and Media
A Simple Solution




Works on images, as well as other media like <video>.
Another Possibility




     Filament Group – depends on cookies and JavaScript
Media Queries
Not so long ago…
•   We could define media types: screen and print.
•   But not easily respond to the user’s display.
•   Lots of grunt work.
•   Didn’t spend much time thinking about mobile
    devices.
CSS3 Media Queries
• The CSS3 Media Queries Module specifies
  methods to enable web developers to scope a
  style sheet to a set of precise device capabilities.
Simple Example
@media screen and (max-width: 600px) {
   body {
      font-size: 80%;
   }
}
Other Queries
@media screen and (min-width:320px) and (max-
width:480px)

@media not print and (max-width:600px)

@media screen (x) and (y), print (a) and (b)
Can be declared…
In the Stylesheet
Import Rule
   @import url(mq.css) only screen and (max-
   width:600px)
link Element
   <link rel=“stylesheet” media=“only screen and
   (max-width:800px)” href=“mq.css”>
Supported Media Properties
•   min/max-width         •   color
•   min/max-height        •   color-index
•   device-width          •   monochrome
•   device-height         •   resolution
•   orientation
•   aspect-ratio
•   device-aspect-ratio
demo
Little Pea Bakery
What About Devices?
• viewport meta tag
  • <meta name=“viewport”
    content=“width=device-width”>
• device-width vs. width
• maximum-zoom
What about non-supportive browsers?
• css3-mediaqueries-js by Wouter van der Graaf
• Just include the script in your pages
• Parses the CSS and applies style for positive media
  tests
Hey, what was that 4th thing?
• Design.
  • Do we start with mobile-first?
  • Is it best that all sites are responsive?
  • Do we need or want to do visual comps for every
    device?
  • Don’t dismiss mobile as walking and looking something
    up.
  • We are at the beginning, that’s what makes this
    interesting!
Remember To Complete Your Evaluations!
You could WIN a Samsung Focus
Windows Phone 7!
Let us know what you liked & disliked!
Remember, 1=Bad, 5=Good 
Please provide comments!
No purchase necessary. The contest is open to residents of Canada (excluding government employees). The Toronto Tech·Days evaluation form contest begins on October 25th, 2011 and
ends on October 26th, 2011. The Vancouver Tech·Days evaluation form contest begins on November 15th, 2011 and ends on November 16th, 2011. The Montreal Tech·Days evaluation
form contest begins on November 29th, 2011 and ends on November 30th, 2011. Participants can enter the contest in one of two ways: (1) complete and submit an evaluation form by the
contest close date; or (2) provide contact information by the contest close date. The draw for Toronto will take place on October 31st, 2011. The draw for Vancouver will take place on
November 21st, 2011. The draw for Montreal will take place on December 5th, 2011. The chances of being selected depend upon the number of eligible entries. Selected participants will be
contacted by phone and/or e-mail and will be required to answer correctly a time-limited skill-testing question. There are three (3) prizes available to be won. One (1) prize will be given away
for each Tech·Days event in Toronto (October 25-26 2011), Vancouver (November 15-16 2011) and Montreal (November 29-30 2011). The prize consists of a Samsung Focus Windows
Phone 7 (handset only; voice and/or data plan not included) (approximate retail value of $499 CAD). The prize will be delivered to the shipping address designated by the winner within 6-8
weeks. The winner may be required to sign a declaration and release form. For full contest rules, please see a Microsoft Tech·Days representative.


 You can email any additional comments directly to
        td_can@microsoft.com at any time.
Q&A
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should
                          not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
                                                  MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Más contenido relacionado

Destacado

MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russianMALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russianVogelDenise
 
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegianMALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegianVogelDenise
 
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandic
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandicMALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandic
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandicVogelDenise
 
Success after collegev3
Success after collegev3Success after collegev3
Success after collegev3Tom Bartlett
 
Monetary policy review 28jan14
Monetary policy review   28jan14Monetary policy review   28jan14
Monetary policy review 28jan14jignesh shah
 
KU KLUX KLAN ACT OF 1871 (AFRIKAANS)
KU KLUX KLAN ACT OF 1871 (AFRIKAANS)KU KLUX KLAN ACT OF 1871 (AFRIKAANS)
KU KLUX KLAN ACT OF 1871 (AFRIKAANS)VogelDenise
 
Malcolm x building bridges (getting the devil off your back)-korean
Malcolm x   building bridges (getting the devil off your back)-koreanMalcolm x   building bridges (getting the devil off your back)-korean
Malcolm x building bridges (getting the devil off your back)-koreanVogelDenise
 
Obama read my lips -obama fraudgate (irish)
Obama   read my lips -obama fraudgate (irish)Obama   read my lips -obama fraudgate (irish)
Obama read my lips -obama fraudgate (irish)VogelDenise
 
033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...
033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...
033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...VogelDenise
 
Interpol bringing the united states to justice (hungarian)
Interpol   bringing the united states to justice (hungarian)Interpol   bringing the united states to justice (hungarian)
Interpol bringing the united states to justice (hungarian)VogelDenise
 
GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)
GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)
GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)VogelDenise
 
Interpol bringing the united states to justice (korean)
Interpol   bringing the united states to justice (korean)Interpol   bringing the united states to justice (korean)
Interpol bringing the united states to justice (korean)VogelDenise
 
Interpol bringing the united states to justice (hindi)
Interpol   bringing the united states to justice (hindi)Interpol   bringing the united states to justice (hindi)
Interpol bringing the united states to justice (hindi)VogelDenise
 
Lithuanian thank you to republic of ecuador (asylum of julian assange)
Lithuanian   thank you to  republic of ecuador (asylum of julian assange)Lithuanian   thank you to  republic of ecuador (asylum of julian assange)
Lithuanian thank you to republic of ecuador (asylum of julian assange)VogelDenise
 
Obama read my lips -obama fraudgate (macedonian)
Obama   read my lips -obama fraudgate (macedonian)Obama   read my lips -obama fraudgate (macedonian)
Obama read my lips -obama fraudgate (macedonian)VogelDenise
 
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)VogelDenise
 
Romanian thank you to republic of ecuador (asylum of julian assange)
Romanian   thank you to  republic of ecuador (asylum of julian assange)Romanian   thank you to  republic of ecuador (asylum of julian assange)
Romanian thank you to republic of ecuador (asylum of julian assange)VogelDenise
 

Destacado (17)

MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russianMALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-russian
 
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegianMALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegian
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-norwegian
 
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandic
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandicMALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandic
MALCOLM X (Building Bridges – Getting The DEVIL OFF YOUR BACK)-icelandic
 
Success after collegev3
Success after collegev3Success after collegev3
Success after collegev3
 
Monetary policy review 28jan14
Monetary policy review   28jan14Monetary policy review   28jan14
Monetary policy review 28jan14
 
KU KLUX KLAN ACT OF 1871 (AFRIKAANS)
KU KLUX KLAN ACT OF 1871 (AFRIKAANS)KU KLUX KLAN ACT OF 1871 (AFRIKAANS)
KU KLUX KLAN ACT OF 1871 (AFRIKAANS)
 
Malcolm x building bridges (getting the devil off your back)-korean
Malcolm x   building bridges (getting the devil off your back)-koreanMalcolm x   building bridges (getting the devil off your back)-korean
Malcolm x building bridges (getting the devil off your back)-korean
 
Obama read my lips -obama fraudgate (irish)
Obama   read my lips -obama fraudgate (irish)Obama   read my lips -obama fraudgate (irish)
Obama read my lips -obama fraudgate (irish)
 
033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...
033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...
033016 - CITIZENS OF JACKSON MISSISSIPPI PROPOSED LAWSUIT AGAINST CITY OF JAC...
 
Interpol bringing the united states to justice (hungarian)
Interpol   bringing the united states to justice (hungarian)Interpol   bringing the united states to justice (hungarian)
Interpol bringing the united states to justice (hungarian)
 
GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)
GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)
GEORGE ZIMMERMAN'S NOT GUILTY VERDICT - NOT SO FAST (croatian)
 
Interpol bringing the united states to justice (korean)
Interpol   bringing the united states to justice (korean)Interpol   bringing the united states to justice (korean)
Interpol bringing the united states to justice (korean)
 
Interpol bringing the united states to justice (hindi)
Interpol   bringing the united states to justice (hindi)Interpol   bringing the united states to justice (hindi)
Interpol bringing the united states to justice (hindi)
 
Lithuanian thank you to republic of ecuador (asylum of julian assange)
Lithuanian   thank you to  republic of ecuador (asylum of julian assange)Lithuanian   thank you to  republic of ecuador (asylum of julian assange)
Lithuanian thank you to republic of ecuador (asylum of julian assange)
 
Obama read my lips -obama fraudgate (macedonian)
Obama   read my lips -obama fraudgate (macedonian)Obama   read my lips -obama fraudgate (macedonian)
Obama read my lips -obama fraudgate (macedonian)
 
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Urdu)
 
Romanian thank you to republic of ecuador (asylum of julian assange)
Romanian   thank you to  republic of ecuador (asylum of julian assange)Romanian   thank you to  republic of ecuador (asylum of julian assange)
Romanian thank you to republic of ecuador (asylum of julian assange)
 

Similar a Responsive Web Design - 01.26.12

FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFrédéric Harper
 
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your designSCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your designFrédéric Harper
 
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-18Frédéric Harper
 
Prairie Dev Con West - 2012-03-15 - Responsive Web Design
Prairie Dev Con West - 2012-03-15 - Responsive Web DesignPrairie Dev Con West - 2012-03-15 - Responsive Web Design
Prairie Dev Con West - 2012-03-15 - Responsive Web DesignFrédéric Harper
 
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 2013Marc D Anderson
 
Wizard - Credential 2013
Wizard - Credential 2013Wizard - Credential 2013
Wizard - Credential 2013Vũ Thịnh
 
Ciw going mobile
Ciw going mobileCiw going mobile
Ciw going mobiler82093403
 
Responsive design lunch and learn
Responsive design lunch and learnResponsive design lunch and learn
Responsive design lunch and learnRicardo Queiroz
 
Digital Success Stack for DCBKK 2018
Digital Success Stack for DCBKK 2018Digital Success Stack for DCBKK 2018
Digital Success Stack for DCBKK 2018Kyvio
 
User interface-ui-training-by-ruchiwebsolutions
User interface-ui-training-by-ruchiwebsolutionsUser interface-ui-training-by-ruchiwebsolutions
User interface-ui-training-by-ruchiwebsolutionsphp2ranjan
 
User interface ui training hyderabad
User interface ui training hyderabadUser interface ui training hyderabad
User interface ui training hyderabadRuchiwebsolutions
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)Chris Mills
 
Quality and the "Secret Mission:" From End-Stage Tester to Skilled Analyst
Quality and the "Secret Mission:" From End-Stage Tester to Skilled AnalystQuality and the "Secret Mission:" From End-Stage Tester to Skilled Analyst
Quality and the "Secret Mission:" From End-Stage Tester to Skilled AnalystDevorah Firestone
 
Design Learnings
Design LearningsDesign Learnings
Design LearningsQuikr
 
Web designing-training-by-ruchiwebsolutions
Web designing-training-by-ruchiwebsolutionsWeb designing-training-by-ruchiwebsolutions
Web designing-training-by-ruchiwebsolutionsphp2ranjan
 
WebMatrix, see what the matrix can do for you!!
WebMatrix, see what the matrix can do for you!!WebMatrix, see what the matrix can do for you!!
WebMatrix, see what the matrix can do for you!!Frédéric Harper
 
Expanding Your Online Community with Web Accessibility
Expanding Your Online Community with Web AccessibilityExpanding Your Online Community with Web Accessibility
Expanding Your Online Community with Web AccessibilityTechSoup
 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Thinkful
 

Similar a Responsive Web Design - 01.26.12 (20)

FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your designSCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
 
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
 
Prairie Dev Con West - 2012-03-15 - Responsive Web Design
Prairie Dev Con West - 2012-03-15 - Responsive Web DesignPrairie Dev Con West - 2012-03-15 - Responsive Web Design
Prairie Dev Con West - 2012-03-15 - Responsive Web Design
 
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
 
Wizard - Credential 2013
Wizard - Credential 2013Wizard - Credential 2013
Wizard - Credential 2013
 
Ciw going mobile
Ciw going mobileCiw going mobile
Ciw going mobile
 
Responsive design lunch and learn
Responsive design lunch and learnResponsive design lunch and learn
Responsive design lunch and learn
 
Digital Success Stack for DCBKK 2018
Digital Success Stack for DCBKK 2018Digital Success Stack for DCBKK 2018
Digital Success Stack for DCBKK 2018
 
User interface-ui-training-by-ruchiwebsolutions
User interface-ui-training-by-ruchiwebsolutionsUser interface-ui-training-by-ruchiwebsolutions
User interface-ui-training-by-ruchiwebsolutions
 
User interface ui training hyderabad
User interface ui training hyderabadUser interface ui training hyderabad
User interface ui training hyderabad
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)
 
Quality and the "Secret Mission:" From End-Stage Tester to Skilled Analyst
Quality and the "Secret Mission:" From End-Stage Tester to Skilled AnalystQuality and the "Secret Mission:" From End-Stage Tester to Skilled Analyst
Quality and the "Secret Mission:" From End-Stage Tester to Skilled Analyst
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Design Learnings
Design LearningsDesign Learnings
Design Learnings
 
Web designing-training-by-ruchiwebsolutions
Web designing-training-by-ruchiwebsolutionsWeb designing-training-by-ruchiwebsolutions
Web designing-training-by-ruchiwebsolutions
 
Responsive and Mobile Design
Responsive and Mobile DesignResponsive and Mobile Design
Responsive and Mobile Design
 
WebMatrix, see what the matrix can do for you!!
WebMatrix, see what the matrix can do for you!!WebMatrix, see what the matrix can do for you!!
WebMatrix, see what the matrix can do for you!!
 
Expanding Your Online Community with Web Accessibility
Expanding Your Online Community with Web AccessibilityExpanding Your Online Community with Web Accessibility
Expanding Your Online Community with Web Accessibility
 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)
 

Último

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 

Último (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 

Responsive Web Design - 01.26.12

  • 1. Responsive Web Design: The View of the World Depends on the Glasses I Wear Paul Laberge Technical Evangelist Microsoft Canada @plaberge paul.laberge@microsoft.com
  • 2. How we viewed the web… • The Desktop Browser
  • 3. How we view the web today… • The Desktop Browser • Mobile Browsers • Tablet form-factors • Televisions • Game Consoles • More… • Yeah, so what’s the problem?
  • 5.
  • 6. Responsive Web Design • Thinking of the user’s needs instead of ours. • Adapt to various device capabilities instead of configurations. • Help future-proof our sites.
  • 8. Elements of Responsive Web Design • A flexible, grid-based layout, • Flexible images and media, and • Media queries. • Something else.
  • 10. Ok, so what’s the problem? • Non-responsive sites are no fun. • Fixed-width sites are not the best experiences. • Design tools tend to use pixels. • Sometimes a pixel does not equal a pixel. • So how do we turn pixels to their em counterparts?
  • 11. Pixels to Ems Algorithm
  • 12.
  • 13. Responsive Web Design READ MORE >> h1 { h1 { em font-size: 24px; 24 / 16 = 1.5 font-size: 1.5em; } } h1 a { 11 / 24 = h1 a { % font-size: 24px; 0.458333333+ font: 0.458333333+; } } 1 2 3
  • 14. Didn’t You Say Something About a Grid?
  • 16. A Simple Solution Works on images, as well as other media like <video>.
  • 17. Another Possibility Filament Group – depends on cookies and JavaScript
  • 19. Not so long ago… • We could define media types: screen and print. • But not easily respond to the user’s display. • Lots of grunt work. • Didn’t spend much time thinking about mobile devices.
  • 20. CSS3 Media Queries • The CSS3 Media Queries Module specifies methods to enable web developers to scope a style sheet to a set of precise device capabilities.
  • 21. Simple Example @media screen and (max-width: 600px) { body { font-size: 80%; } }
  • 22. Other Queries @media screen and (min-width:320px) and (max- width:480px) @media not print and (max-width:600px) @media screen (x) and (y), print (a) and (b)
  • 23. Can be declared… In the Stylesheet Import Rule @import url(mq.css) only screen and (max- width:600px) link Element <link rel=“stylesheet” media=“only screen and (max-width:800px)” href=“mq.css”>
  • 24. Supported Media Properties • min/max-width • color • min/max-height • color-index • device-width • monochrome • device-height • resolution • orientation • aspect-ratio • device-aspect-ratio
  • 26. What About Devices? • viewport meta tag • <meta name=“viewport” content=“width=device-width”> • device-width vs. width • maximum-zoom
  • 27. What about non-supportive browsers? • css3-mediaqueries-js by Wouter van der Graaf • Just include the script in your pages • Parses the CSS and applies style for positive media tests
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. Hey, what was that 4th thing? • Design. • Do we start with mobile-first? • Is it best that all sites are responsive? • Do we need or want to do visual comps for every device? • Don’t dismiss mobile as walking and looking something up. • We are at the beginning, that’s what makes this interesting!
  • 34.
  • 35. Remember To Complete Your Evaluations! You could WIN a Samsung Focus Windows Phone 7! Let us know what you liked & disliked! Remember, 1=Bad, 5=Good  Please provide comments! No purchase necessary. The contest is open to residents of Canada (excluding government employees). The Toronto Tech·Days evaluation form contest begins on October 25th, 2011 and ends on October 26th, 2011. The Vancouver Tech·Days evaluation form contest begins on November 15th, 2011 and ends on November 16th, 2011. The Montreal Tech·Days evaluation form contest begins on November 29th, 2011 and ends on November 30th, 2011. Participants can enter the contest in one of two ways: (1) complete and submit an evaluation form by the contest close date; or (2) provide contact information by the contest close date. The draw for Toronto will take place on October 31st, 2011. The draw for Vancouver will take place on November 21st, 2011. The draw for Montreal will take place on December 5th, 2011. The chances of being selected depend upon the number of eligible entries. Selected participants will be contacted by phone and/or e-mail and will be required to answer correctly a time-limited skill-testing question. There are three (3) prizes available to be won. One (1) prize will be given away for each Tech·Days event in Toronto (October 25-26 2011), Vancouver (November 15-16 2011) and Montreal (November 29-30 2011). The prize consists of a Samsung Focus Windows Phone 7 (handset only; voice and/or data plan not included) (approximate retail value of $499 CAD). The prize will be delivered to the shipping address designated by the winner within 6-8 weeks. The winner may be required to sign a declaration and release form. For full contest rules, please see a Microsoft Tech·Days representative. You can email any additional comments directly to td_can@microsoft.com at any time.
  • 36. Q&A
  • 37. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.