SlideShare a Scribd company logo
1 of 22
Download to read offline
Responsive Web
          Design


with HTML5 and CSS3
Outline
● Introduction
● When To Use It? Why?
● How?
  ○   HTML5
  ○   CSS3
  ○   Media Queries
  ○   Design
● Conclusion
  ○ Advantage
  ○ Disadvantage
Introduction
● What is Responsive Web Design?
  ○ A website that renders the content respond to the
    device that accesses it.
When To Use It? Why?
● Things to Consider:
  ○   Money & Time
  ○   SEO (Search Engine Optimization)
  ○   Performance
  ○   Browser Support
How To Do It?
● 4 Main Points to Know:
  ○   HTML5
  ○   CSS3
  ○   Media Queries
  ○   Design
HTML5
● What is HTML5?
  ○ The fifth revision of HyperText Markup Language,
    the core language for presenting content on the web.
HTML5
● Graphics / Multimedia
  ○   <cavas> (2D/3D), <video>, <audio>, ...
● Realtime / Communication
  ○   WebSocket : chat, analytic, ...
● File / Hardware Access
  ○   Geolocation, Device Orientation, ...
● Offline / Storage
  ○   SQL Database, Offline, Application Cache, ...
● Semantics & Markup
  ○   <header>, <footer>, <input type="tel" .../>, ...
● Nuts & Bolts
  ○   document.getElementsByClassName("section"), ...
HTML5
● Example
  <input type="tel" name="telephone" value="" />
CSS3
● What is CSS3?
  CSS3 is the newest implementation of that
  markup language and enables responsive
  markup.
CSS3
● CSS Selectors
  tr:nth-child(even) {
      background-color: gray;
  }
  tr:nth-child(odd) {
      background-color: white;
  }
CSS3
● Web Fonts
  @font-face {
    font-family: 'FontName';
    src: url(FontPathLocation.ttf);
  }

  h1 {
    font-family: 'FontName';
  }
CSS3
● Text Wrapping
  div {
     text-overflow: ellipsis;
  }




● Columns
  div {
      *-column-count: 2;
      *-column-rule: 1px solid #bbb;
      *-column-gap: 2em;
  }
CSS3
●   Transitions
●   Transforms / Rotations
●   Animations
●   Button Style
●   Text Shadow
●   Rounded corners
●   Detect screen size, device orientation, ...
●   ...
Media Queries
● What is Media Queries?
  A media query combines a media type and a
  condition to specify how web content will
  appear on a particular receiving device.
Media Queries
 ● Example
@media screen and (min-width:1001px) and (max-width:1400px){
    body {
       background-color: red;
    }
}
@media screen and (min-width:501px) and (max-width:1000px){
    body {
       background-color: blue;
    }
}
@media screen and (min-width:240px) and (max-width:500px){
    body {
       background-color: white;
    }
}
Media Queries
Design
● How to design website?
  ○ Design from smallest to larger viewports/screen
    sizes.
  ○ "Stop thinking in pages, start thinking in systems."
                                                   - Jeremy Keith
Conclusion
● Advantage
  ○   User Experience (Mobile/Tablet/Desktop)
  ○   Analytics
  ○   Not separate mobile site (for Sharing/Linking)
  ○   Optimized content (SEO best practice)
  ○   Development (no redirects/user-agent targeting)
  ○   Maintenance
  ○   Information Architecture
Conclusion
● Disadvantage
  ○   Limitations of CSS media queries
  ○   Image resizing
  ○   Speed
  ○   Mobile needs and desktop needs may be different
  ○   Mobile versions are always more optimized
Thanks for Your
   Attention

 Question & Answer
Demo
References
● Books:
  ○ Responsive Web Design with HTML5 and CSS3 by
    Ben Frain
● URLs:
  ○ HTML5 : http://slides.html5rocks.com
  ○ RWD : http://goo.gl/eagpD

More Related Content

What's hot

Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
butest
 

What's hot (20)

Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Css3
Css3Css3
Css3
 
How Web Browsers Work
How Web Browsers WorkHow Web Browsers Work
How Web Browsers Work
 
Html training slide
Html training slideHtml training slide
Html training slide
 
Java script
Java scriptJava script
Java script
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web Development
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
Web Designing Presentation
Web Designing PresentationWeb Designing Presentation
Web Designing Presentation
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
Span and Div tags in HTML
Span and Div tags in HTMLSpan and Div tags in HTML
Span and Div tags in HTML
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Bootstrap 5 basic
Bootstrap 5 basicBootstrap 5 basic
Bootstrap 5 basic
 
Introduction to BOOTSTRAP
Introduction to BOOTSTRAPIntroduction to BOOTSTRAP
Introduction to BOOTSTRAP
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Javascript
JavascriptJavascript
Javascript
 

Viewers also liked

Introduction to HTML5 and CSS3 (revised)
Introduction to HTML5 and CSS3 (revised)Introduction to HTML5 and CSS3 (revised)
Introduction to HTML5 and CSS3 (revised)
Joseph Lewis
 
Importing Files Into Adobe Audition
Importing Files Into Adobe AuditionImporting Files Into Adobe Audition
Importing Files Into Adobe Audition
Samuel Edsall
 
Magazine Layout and Colour Scheme
Magazine Layout and Colour SchemeMagazine Layout and Colour Scheme
Magazine Layout and Colour Scheme
LewisBrownMedia
 

Viewers also liked (20)

Introduction to HTML5 and CSS3 (revised)
Introduction to HTML5 and CSS3 (revised)Introduction to HTML5 and CSS3 (revised)
Introduction to HTML5 and CSS3 (revised)
 
Simple Steps to UX/UI Web Design
Simple Steps to UX/UI Web DesignSimple Steps to UX/UI Web Design
Simple Steps to UX/UI Web Design
 
Introduction to Frontend Development - Session 1 - HTML Fundamentals
Introduction to Frontend Development - Session 1 - HTML FundamentalsIntroduction to Frontend Development - Session 1 - HTML Fundamentals
Introduction to Frontend Development - Session 1 - HTML Fundamentals
 
Game jump: frontend introduction #1
Game jump: frontend introduction #1Game jump: frontend introduction #1
Game jump: frontend introduction #1
 
Game jump frontend introduction #workshop1
Game jump  frontend introduction #workshop1Game jump  frontend introduction #workshop1
Game jump frontend introduction #workshop1
 
Reponsive web design (HTML5 + css3)
Reponsive web design (HTML5 + css3)Reponsive web design (HTML5 + css3)
Reponsive web design (HTML5 + css3)
 
Importing Files Into Adobe Audition
Importing Files Into Adobe AuditionImporting Files Into Adobe Audition
Importing Files Into Adobe Audition
 
Basic Html for beginners.
Basic Html for beginners.Basic Html for beginners.
Basic Html for beginners.
 
Introduction To Web Design
Introduction To Web DesignIntroduction To Web Design
Introduction To Web Design
 
Web 1.0 and Web 2.0
Web 1.0 and Web 2.0Web 1.0 and Web 2.0
Web 1.0 and Web 2.0
 
Conferencia HTML5 y CSS3 por Alexandra García Milan
Conferencia HTML5 y CSS3 por Alexandra García MilanConferencia HTML5 y CSS3 por Alexandra García Milan
Conferencia HTML5 y CSS3 por Alexandra García Milan
 
Comparative study of web 1, Web 2 and Web 3
Comparative study of web 1, Web 2 and Web 3Comparative study of web 1, Web 2 and Web 3
Comparative study of web 1, Web 2 and Web 3
 
Advanced PC Maintenance and Troubleshooting
Advanced PC Maintenance and TroubleshootingAdvanced PC Maintenance and Troubleshooting
Advanced PC Maintenance and Troubleshooting
 
Web 1.0 2.0-3.0-4.0 Overview
Web 1.0 2.0-3.0-4.0 OverviewWeb 1.0 2.0-3.0-4.0 Overview
Web 1.0 2.0-3.0-4.0 Overview
 
Refreshing Your UI with HTML5, Bootstrap and CSS3
Refreshing Your UI with HTML5, Bootstrap and CSS3Refreshing Your UI with HTML5, Bootstrap and CSS3
Refreshing Your UI with HTML5, Bootstrap and CSS3
 
Web 1.0 to Web 3.0 - Evolution of the Web and its Various Challenges
Web 1.0 to Web 3.0 - Evolution of the Web and its Various ChallengesWeb 1.0 to Web 3.0 - Evolution of the Web and its Various Challenges
Web 1.0 to Web 3.0 - Evolution of the Web and its Various Challenges
 
Web Evolution Nova Spivack Twine
Web Evolution   Nova Spivack   TwineWeb Evolution   Nova Spivack   Twine
Web Evolution Nova Spivack Twine
 
Magazine Layout and Colour Scheme
Magazine Layout and Colour SchemeMagazine Layout and Colour Scheme
Magazine Layout and Colour Scheme
 
Oops in PHP
Oops in PHPOops in PHP
Oops in PHP
 
Content Management System
Content Management SystemContent Management System
Content Management System
 

Similar to Responsive Web Design with HTML5 and CSS3

HTML5 New Features and Resources
HTML5 New Features and ResourcesHTML5 New Features and Resources
HTML5 New Features and Resources
Ron Reiter
 
Responsive Web Design On Student's day
Responsive Web Design On Student's day Responsive Web Design On Student's day
Responsive Web Design On Student's day
psophy
 
Responsive Web Design - 01.26.12
Responsive Web Design - 01.26.12Responsive Web Design - 01.26.12
Responsive Web Design - 01.26.12
Digiflare
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
Razorfish
 
ASHOK KUMAR UI Developer Resume
ASHOK KUMAR UI Developer ResumeASHOK KUMAR UI Developer Resume
ASHOK KUMAR UI Developer Resume
Sorakayala Ashok
 

Similar to Responsive Web Design with HTML5 and CSS3 (20)

HTML5 New Features and Resources
HTML5 New Features and ResourcesHTML5 New Features and Resources
HTML5 New Features and Resources
 
AD109 Navigating the Jungle of Modern Web Development
AD109 Navigating the Jungle of Modern Web DevelopmentAD109 Navigating the Jungle of Modern Web Development
AD109 Navigating the Jungle of Modern Web Development
 
Web Development
Web DevelopmentWeb Development
Web Development
 
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
 
Bruce Lawson Opera Indonesia
Bruce Lawson Opera IndonesiaBruce Lawson Opera Indonesia
Bruce Lawson Opera Indonesia
 
Responsive Implementation in Drupal
Responsive Implementation in DrupalResponsive Implementation in Drupal
Responsive Implementation in Drupal
 
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptxINDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
 
The Appy Hour
The Appy HourThe Appy Hour
The Appy Hour
 
Responsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebResponsive Design: Building for a Modern Web
Responsive Design: Building for a Modern Web
 
Web Design Trends For 2016
Web Design Trends For 2016Web Design Trends For 2016
Web Design Trends For 2016
 
Approaches to Responsive Wen Design & Development
Approaches to Responsive Wen Design & DevelopmentApproaches to Responsive Wen Design & Development
Approaches to Responsive Wen Design & Development
 
Life in CSE.pptx
Life in CSE.pptxLife in CSE.pptx
Life in CSE.pptx
 
Responsive Web Design On Student's day
Responsive Web Design On Student's day Responsive Web Design On Student's day
Responsive Web Design On Student's day
 
Responsive Web Design - 01.26.12
Responsive Web Design - 01.26.12Responsive Web Design - 01.26.12
Responsive Web Design - 01.26.12
 
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
 
HTML 5 and CSS 3
HTML 5 and CSS 3HTML 5 and CSS 3
HTML 5 and CSS 3
 
Web Design Workshop with seoplus+ and Google
Web Design Workshop with seoplus+ and GoogleWeb Design Workshop with seoplus+ and Google
Web Design Workshop with seoplus+ and Google
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
 
ASHOK KUMAR UI Developer Resume
ASHOK KUMAR UI Developer ResumeASHOK KUMAR UI Developer Resume
ASHOK KUMAR UI Developer Resume
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 

Responsive Web Design with HTML5 and CSS3

  • 1. Responsive Web Design with HTML5 and CSS3
  • 2. Outline ● Introduction ● When To Use It? Why? ● How? ○ HTML5 ○ CSS3 ○ Media Queries ○ Design ● Conclusion ○ Advantage ○ Disadvantage
  • 3. Introduction ● What is Responsive Web Design? ○ A website that renders the content respond to the device that accesses it.
  • 4. When To Use It? Why? ● Things to Consider: ○ Money & Time ○ SEO (Search Engine Optimization) ○ Performance ○ Browser Support
  • 5. How To Do It? ● 4 Main Points to Know: ○ HTML5 ○ CSS3 ○ Media Queries ○ Design
  • 6. HTML5 ● What is HTML5? ○ The fifth revision of HyperText Markup Language, the core language for presenting content on the web.
  • 7. HTML5 ● Graphics / Multimedia ○ <cavas> (2D/3D), <video>, <audio>, ... ● Realtime / Communication ○ WebSocket : chat, analytic, ... ● File / Hardware Access ○ Geolocation, Device Orientation, ... ● Offline / Storage ○ SQL Database, Offline, Application Cache, ... ● Semantics & Markup ○ <header>, <footer>, <input type="tel" .../>, ... ● Nuts & Bolts ○ document.getElementsByClassName("section"), ...
  • 8. HTML5 ● Example <input type="tel" name="telephone" value="" />
  • 9. CSS3 ● What is CSS3? CSS3 is the newest implementation of that markup language and enables responsive markup.
  • 10. CSS3 ● CSS Selectors tr:nth-child(even) { background-color: gray; } tr:nth-child(odd) { background-color: white; }
  • 11. CSS3 ● Web Fonts @font-face { font-family: 'FontName'; src: url(FontPathLocation.ttf); } h1 { font-family: 'FontName'; }
  • 12. CSS3 ● Text Wrapping div { text-overflow: ellipsis; } ● Columns div { *-column-count: 2; *-column-rule: 1px solid #bbb; *-column-gap: 2em; }
  • 13. CSS3 ● Transitions ● Transforms / Rotations ● Animations ● Button Style ● Text Shadow ● Rounded corners ● Detect screen size, device orientation, ... ● ...
  • 14. Media Queries ● What is Media Queries? A media query combines a media type and a condition to specify how web content will appear on a particular receiving device.
  • 15. Media Queries ● Example @media screen and (min-width:1001px) and (max-width:1400px){ body { background-color: red; } } @media screen and (min-width:501px) and (max-width:1000px){ body { background-color: blue; } } @media screen and (min-width:240px) and (max-width:500px){ body { background-color: white; } }
  • 17. Design ● How to design website? ○ Design from smallest to larger viewports/screen sizes. ○ "Stop thinking in pages, start thinking in systems." - Jeremy Keith
  • 18. Conclusion ● Advantage ○ User Experience (Mobile/Tablet/Desktop) ○ Analytics ○ Not separate mobile site (for Sharing/Linking) ○ Optimized content (SEO best practice) ○ Development (no redirects/user-agent targeting) ○ Maintenance ○ Information Architecture
  • 19. Conclusion ● Disadvantage ○ Limitations of CSS media queries ○ Image resizing ○ Speed ○ Mobile needs and desktop needs may be different ○ Mobile versions are always more optimized
  • 20. Thanks for Your Attention Question & Answer
  • 21. Demo
  • 22. References ● Books: ○ Responsive Web Design with HTML5 and CSS3 by Ben Frain ● URLs: ○ HTML5 : http://slides.html5rocks.com ○ RWD : http://goo.gl/eagpD