Movatterモバイル変換


[0]ホーム

URL:


Kannika Kong, profile picture
Uploaded byKannika Kong
17,761 views

Responsive Web Design with HTML5 and CSS3

This document discusses responsive web design using HTML5 and CSS3. It defines responsive web design as websites that render content tailored to the device accessing it. It covers using HTML5 for multimedia, geolocation and offline capabilities. CSS3 enables responsive markup through selectors, web fonts, columns and transitions. Media queries allow specifying styles based on screen size. The document advocates designing first for small screens and using systems thinking. Advantages include optimized user experience across devices while disadvantages include limited queries and need for separate mobile optimizations.

Embed presentation

Downloaded 553 times
Responsive Web          Designwith 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

Recommended

PPTX
Responsive web designing ppt(1)
PPS
Web Site Design Principles
PPTX
Html5 tutorial for beginners
PPTX
Introduction to ajax
PPTX
Client side scripting and server side scripting
PPTX
Flexbox
PPTX
Css position
PPTX
Bootstrap 3
PDF
WEB I - 01 - Introduction to Web Development
PDF
Html / CSS Presentation
PDF
Bootstrap
PPTX
PPTX
Web application architecture
PPTX
Introduction to CSS
PPTX
HTML5 & CSS3
PDF
Introduction to HTML5
PPTX
Front-End Web Development
PPTX
Introduction to ASP.NET
PPT
javaScript.ppt
PPT
PPT
Introduction to JavaScript (1).ppt
PPTX
Server Side Programming
PPT
Web Engineering
PDF
Introduction to Web Components
PPTX
Cascading style sheet
PPT
Bootstrap Part - 1
PPT
Introduction to Javascript
PPT
Object oriented analysis
PPTX
Introduction to HTML5 and CSS3 (revised)
PDF
Simple Steps to UX/UI Web Design

More Related Content

PPTX
Responsive web designing ppt(1)
PPS
Web Site Design Principles
PPTX
Html5 tutorial for beginners
PPTX
Introduction to ajax
PPTX
Client side scripting and server side scripting
PPTX
Flexbox
PPTX
Css position
PPTX
Bootstrap 3
Responsive web designing ppt(1)
Web Site Design Principles
Html5 tutorial for beginners
Introduction to ajax
Client side scripting and server side scripting
Flexbox
Css position
Bootstrap 3

What's hot

PDF
WEB I - 01 - Introduction to Web Development
PDF
Html / CSS Presentation
PDF
Bootstrap
PPTX
PPTX
Web application architecture
PPTX
Introduction to CSS
PPTX
HTML5 & CSS3
PDF
Introduction to HTML5
PPTX
Front-End Web Development
PPTX
Introduction to ASP.NET
PPT
javaScript.ppt
PPT
PPT
Introduction to JavaScript (1).ppt
PPTX
Server Side Programming
PPT
Web Engineering
PDF
Introduction to Web Components
PPTX
Cascading style sheet
PPT
Bootstrap Part - 1
PPT
Introduction to Javascript
PPT
Object oriented analysis
WEB I - 01 - Introduction to Web Development
Html / CSS Presentation
Bootstrap
Web application architecture
Introduction to CSS
HTML5 & CSS3
Introduction to HTML5
Front-End Web Development
Introduction to ASP.NET
javaScript.ppt
Introduction to JavaScript (1).ppt
Server Side Programming
Web Engineering
Introduction to Web Components
Cascading style sheet
Bootstrap Part - 1
Introduction to Javascript
Object oriented analysis

Viewers also liked

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

Similar to Responsive Web Design with HTML5 and CSS3

PDF
CSS3: Simply Responsive
PDF
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
PPTX
Chapter 17: Responsive Web Design
PDF
Responsive web design
PDF
Html 5 mobile - nitty gritty
PDF
Responsive Web Design - Why and How
PPTX
Responsive Web Design
PPTX
FITC - 2012-04-23 - Responsive Web Design
PDF
Great Responsive-ability Web Design
PDF
Responsive design lunch and learn
PPTX
Responsive web design
PDF
(Practical) Beyond Responsive Web Design (WordCamp Miami 2011)
PPT
The Mobile Development Landscape
PPTX
Mobile Best Practices
PDF
Responsive Websites
PDF
Responsive Web Site Design
PPTX
Responsive Web Design
PDF
HTML5, CSS3 & Responsive Design
PDF
Media queries
PPTX
Client responsive design
CSS3: Simply Responsive
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
Chapter 17: Responsive Web Design
Responsive web design
Html 5 mobile - nitty gritty
Responsive Web Design - Why and How
Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
Great Responsive-ability Web Design
Responsive design lunch and learn
Responsive web design
(Practical) Beyond Responsive Web Design (WordCamp Miami 2011)
The Mobile Development Landscape
Mobile Best Practices
Responsive Websites
Responsive Web Site Design
Responsive Web Design
HTML5, CSS3 & Responsive Design
Media queries
Client responsive design

Responsive Web Design with HTML5 and CSS3

  • 1.
    Responsive Web Designwith HTML5 and CSS3
  • 2.
    Outline● Introduction● WhenTo Use It? Why?● How? ○ HTML5 ○ CSS3 ○ Media Queries ○ Design● Conclusion ○ Advantage ○ Disadvantage
  • 3.
    Introduction● What isResponsive Web Design? ○ A website that renders the content respond to the device that accesses it.
  • 4.
    When To UseIt? Why?● Things to Consider: ○ Money & Time ○ SEO (Search Engine Optimization) ○ Performance ○ Browser Support
  • 5.
    How To DoIt?● 4 Main Points to Know: ○ HTML5 ○ CSS3 ○ Media Queries ○ Design
  • 6.
    HTML5● What isHTML5? ○ 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 isCSS3? 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● Whatis 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; }}
  • 16.
  • 17.
    Design● How todesign 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.
  • 22.
    References● Books:○ Responsive Web Design with HTML5 and CSS3 by Ben Frain● URLs: ○ HTML5 : http://slides.html5rocks.com ○ RWD : http://goo.gl/eagpD

[8]ページ先頭

©2009-2025 Movatter.jp