SlideShare a Scribd company logo
1 of 22
RESPONSIVE WEB DESIGN
SUPPLEMENT
THE MOBILE REVOLUTION
The Multi-Screen World
• Increasing number of devices we use per day
effects how we search and consume content.
– Phones
– Tablets
– Watches
– Desktops/Laptops
– TVs, DVD players
– Gaming Consoles
The New Multi-Screen World, Google 2012
How Do We Adapt to This New World?
Separate Mobile Website
A separate website is designed specifically for mobile. Results in two
code-bases with different functionality for each.
Adaptive Website Design
Websites adapt to the width of the browser at specific points. The
website is only concerned about the browser being a specific width, at
which point it adapts the layout.
Responsive Website Design
Websites respond to the size of the browser at any given point. No
matter what the browser width may be, the site adjusts its layout (and
perhaps functionality) in a way that is optimized to the screen.
Responsive Web Design (RWD)
Responsive Website Design uses a single HTML
code base for all platforms.
“Rather than creating disconnected designs, each
tailored to a particular device or browser, we should
instead treat them as facets of the same experience. In
other words, we can craft sites that are not only more
flexible, but that can adapt to the media that renders
them.”
- Ethan Marcotte, Author of Responsive Web Design
The Ingredients of RWD
1. Flexible/Fluid Layouts
2. Flexible Images and Media
3. Media Queries
FLEXIBLE LAYOUTS
Fluid Grid Layouts
• Rather than setting
our layouts in
pixels we use
percentages.
• We adjust our box
model math
accordingly
Responsive Typography
• We set type in percentages, em units, or rem units
• Type adjusts relative to a flexible baseline.
• Watch your line length for readability.
• Adjust font size to be larger on smaller screens
FLEXIBLE IMAGES AND MEDIA
Flexible Images
• Image widths are set to expand
to fill the size of their container
and maintain proportion.
• Capture at highest resolution &
let browser scale
img {
width: 100%;
height: auto;
}
Scalable Vector Graphics (SVGs)
• Vector based graphics rendered by the browser.
– Can scale up/down without loss of quality
– Low file sizes
– Can be modified via css to change size, color, etc...
• If you have a flat illustration,
An icon, a logo, just about
anything that can be
displayed as an SVG, then
SVG is the way to go.
What About High Resolution Screens?
• Some techniques use new HTML elements or attributes to
account for multiple versions of the image to fit the correct
resolution determined by the browser.
– <picture> element
– “srcset” attribute on <img> element
No agreed upon solution yet. Both techniques have their strengths/weaknesses and may
need additional javascripting or polyfills for true cross-browser support.
MEDIA QUERIES
What Are Media Queries?
• Media Queries are a CSS3 module allowing
content rendering to adapt to conditions such as
screen resolution (e.g. smartphone screen vs.
computer screen).
• It became a W3C recommended standard in
June 2012, and is a cornerstone technology of
Responsive web design.
• http://mediaqueri.es/
Common Media Queries
• max-width
• max-device-width
• min-width
• min-device-width
• vw (viewport width)
• vh (viewport height)
Responsive Web Design Kittens
Graceful Degradation vs Progressive Enhancement
THINGS TO CONSIDER
Test! Test! Test!
Keep In Mind
• Performance/Load times
• Accessibility
• Imagery
• Scripts
• Typography - web fonts, font stack fallbacks on
devices (standard desktop typefaces not
available on mobile)
A successful responsive design bends,
flexes, and breaks the right way to make the
best use of the available space.
- Jamie Neely, Typecast

More Related Content

Viewers also liked

Green tecnlogy patents
Green tecnlogy patentsGreen tecnlogy patents
Green tecnlogy patents
Altacit Global
 

Viewers also liked (18)

Chapter 5 Text
Chapter 5 TextChapter 5 Text
Chapter 5 Text
 
Supplement Color
Supplement ColorSupplement Color
Supplement Color
 
Chapter 2 Digital Data
Chapter 2 Digital DataChapter 2 Digital Data
Chapter 2 Digital Data
 
Chapter 4 Computer Software
Chapter 4 Computer SoftwareChapter 4 Computer Software
Chapter 4 Computer Software
 
Chapter 10 authoring
Chapter 10 authoringChapter 10 authoring
Chapter 10 authoring
 
Chapter Multimedia Revolution
Chapter Multimedia RevolutionChapter Multimedia Revolution
Chapter Multimedia Revolution
 
Chapter 8 Video
Chapter 8 VideoChapter 8 Video
Chapter 8 Video
 
Chapter 6 Graphics
Chapter 6 GraphicsChapter 6 Graphics
Chapter 6 Graphics
 
Chapter 3 Computer Hardware
Chapter 3 Computer HardwareChapter 3 Computer Hardware
Chapter 3 Computer Hardware
 
7 Things Banks should do with Blockchain
7 Things Banks should do with Blockchain7 Things Banks should do with Blockchain
7 Things Banks should do with Blockchain
 
Advancing Dialysis - Cardiovascular Disease
Advancing Dialysis - Cardiovascular DiseaseAdvancing Dialysis - Cardiovascular Disease
Advancing Dialysis - Cardiovascular Disease
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Sound
 
Peter Minkjan - Likeconomics
Peter Minkjan - LikeconomicsPeter Minkjan - Likeconomics
Peter Minkjan - Likeconomics
 
Green tecnlogy patents
Green tecnlogy patentsGreen tecnlogy patents
Green tecnlogy patents
 
Chapter 9 animation
Chapter 9 animationChapter 9 animation
Chapter 9 animation
 
Financing the Future of Sustainability
Financing the Future of SustainabilityFinancing the Future of Sustainability
Financing the Future of Sustainability
 
L'Intrapreneur : entreprendre au sein des entreprises
L'Intrapreneur : entreprendre au sein des entreprisesL'Intrapreneur : entreprendre au sein des entreprises
L'Intrapreneur : entreprendre au sein des entreprises
 
Iscom Lyon display 2017 session 1
Iscom Lyon display 2017 session 1Iscom Lyon display 2017 session 1
Iscom Lyon display 2017 session 1
 

Similar to S. Responsive Web Design

Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
Nusrat Khanom
 
Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
Omkarsoft Bangalore
 
Wunderman - Responsive Design
Wunderman - Responsive DesignWunderman - Responsive Design
Wunderman - Responsive Design
nrgza
 
Wunderman Responsive Design
Wunderman Responsive DesignWunderman Responsive Design
Wunderman Responsive Design
nrgza
 

Similar to S. Responsive Web Design (20)

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Intro to Responsive Web Design
Intro to Responsive Web DesignIntro to Responsive Web Design
Intro to Responsive Web Design
 
Alexa IT Solution Responsive Web designing
Alexa IT Solution Responsive Web designingAlexa IT Solution Responsive Web designing
Alexa IT Solution Responsive Web designing
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive web design ppt
Responsive web design pptResponsive web design ppt
Responsive web design ppt
 
Responsive Web Development
Responsive Web DevelopmentResponsive Web Development
Responsive Web Development
 
Reponsive web design (HTML5 + css3)
Reponsive web design (HTML5 + css3)Reponsive web design (HTML5 + css3)
Reponsive web design (HTML5 + css3)
 
reponsive-web-design.pptx
reponsive-web-design.pptxreponsive-web-design.pptx
reponsive-web-design.pptx
 
reponsive-web-design.pptx
reponsive-web-design.pptxreponsive-web-design.pptx
reponsive-web-design.pptx
 
Responding Responsively
Responding ResponsivelyResponding Responsively
Responding Responsively
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
 
Responsive Web Design | Website Designing
Responsive Web Design | Website DesigningResponsive Web Design | Website Designing
Responsive Web Design | Website Designing
 
Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
 
Design responsively
Design responsivelyDesign responsively
Design responsively
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Wunderman - Responsive Design
Wunderman - Responsive DesignWunderman - Responsive Design
Wunderman - Responsive Design
 
Wunderman Responsive Design
Wunderman Responsive DesignWunderman Responsive Design
Wunderman Responsive Design
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design
 
Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)Responsive Web Design (HeadStart TechTalks)
Responsive Web Design (HeadStart TechTalks)
 
Responsive Web design Zambig
Responsive Web design ZambigResponsive Web design Zambig
Responsive Web design Zambig
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

S. Responsive Web Design

  • 3. The Multi-Screen World • Increasing number of devices we use per day effects how we search and consume content. – Phones – Tablets – Watches – Desktops/Laptops – TVs, DVD players – Gaming Consoles The New Multi-Screen World, Google 2012
  • 4. How Do We Adapt to This New World? Separate Mobile Website A separate website is designed specifically for mobile. Results in two code-bases with different functionality for each. Adaptive Website Design Websites adapt to the width of the browser at specific points. The website is only concerned about the browser being a specific width, at which point it adapts the layout. Responsive Website Design Websites respond to the size of the browser at any given point. No matter what the browser width may be, the site adjusts its layout (and perhaps functionality) in a way that is optimized to the screen.
  • 5. Responsive Web Design (RWD) Responsive Website Design uses a single HTML code base for all platforms. “Rather than creating disconnected designs, each tailored to a particular device or browser, we should instead treat them as facets of the same experience. In other words, we can craft sites that are not only more flexible, but that can adapt to the media that renders them.” - Ethan Marcotte, Author of Responsive Web Design
  • 6. The Ingredients of RWD 1. Flexible/Fluid Layouts 2. Flexible Images and Media 3. Media Queries
  • 8. Fluid Grid Layouts • Rather than setting our layouts in pixels we use percentages. • We adjust our box model math accordingly
  • 9. Responsive Typography • We set type in percentages, em units, or rem units • Type adjusts relative to a flexible baseline. • Watch your line length for readability. • Adjust font size to be larger on smaller screens
  • 11. Flexible Images • Image widths are set to expand to fill the size of their container and maintain proportion. • Capture at highest resolution & let browser scale img { width: 100%; height: auto; }
  • 12. Scalable Vector Graphics (SVGs) • Vector based graphics rendered by the browser. – Can scale up/down without loss of quality – Low file sizes – Can be modified via css to change size, color, etc... • If you have a flat illustration, An icon, a logo, just about anything that can be displayed as an SVG, then SVG is the way to go.
  • 13. What About High Resolution Screens? • Some techniques use new HTML elements or attributes to account for multiple versions of the image to fit the correct resolution determined by the browser. – <picture> element – “srcset” attribute on <img> element No agreed upon solution yet. Both techniques have their strengths/weaknesses and may need additional javascripting or polyfills for true cross-browser support.
  • 15. What Are Media Queries? • Media Queries are a CSS3 module allowing content rendering to adapt to conditions such as screen resolution (e.g. smartphone screen vs. computer screen). • It became a W3C recommended standard in June 2012, and is a cornerstone technology of Responsive web design. • http://mediaqueri.es/
  • 16. Common Media Queries • max-width • max-device-width • min-width • min-device-width • vw (viewport width) • vh (viewport height)
  • 18. Graceful Degradation vs Progressive Enhancement
  • 21. Keep In Mind • Performance/Load times • Accessibility • Imagery • Scripts • Typography - web fonts, font stack fallbacks on devices (standard desktop typefaces not available on mobile)
  • 22. A successful responsive design bends, flexes, and breaks the right way to make the best use of the available space. - Jamie Neely, Typecast

Editor's Notes

  1. In April 2015 Google search expanded its use of mobile-friendliness as a ranking signal.
  2. Based on concept of responsive architectural design, whereby a room or space automatically adjusts to the number and flow of people within it.
  3. Think of this as a way to test width, height and other attributes of browser
  4. It is best to add media queries at the point where the parts of the design start to break rather than stick to device sizes.