SlideShare a Scribd company logo
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

PPT
Supplement web design
PPT
Supplement Web Tools
PDF
Responsive vs Adaptive Web Design - What about Device Channels?
PPTX
Ch 3: Big Concepts
PPT
Device channels v/s Responsive web design
PPTX
Top 5 user friendly cms platforms for website development in 2021
PPTX
Top cms tools in 2021 to start your business
PPTX
Wk5 why cms
Supplement web design
Supplement Web Tools
Responsive vs Adaptive Web Design - What about Device Channels?
Ch 3: Big Concepts
Device channels v/s Responsive web design
Top 5 user friendly cms platforms for website development in 2021
Top cms tools in 2021 to start your business
Wk5 why cms

Viewers also liked (18)

PPT
Chapter 5 Text
PPT
Supplement Color
PPT
Chapter 2 Digital Data
PPT
Chapter 4 Computer Software
PPT
Chapter 10 authoring
PPT
Chapter Multimedia Revolution
PPT
Chapter 8 Video
PPT
Chapter 6 Graphics
PPT
Chapter 3 Computer Hardware
PDF
7 Things Banks should do with Blockchain
PPTX
Advancing Dialysis - Cardiovascular Disease
PPT
Chapter 7 Sound
PPTX
Peter Minkjan - Likeconomics
PPT
Green tecnlogy patents
PPT
Chapter 9 animation
PPTX
Financing the Future of Sustainability
PDF
L'Intrapreneur : entreprendre au sein des entreprises
PPTX
Iscom Lyon display 2017 session 1
Chapter 5 Text
Supplement Color
Chapter 2 Digital Data
Chapter 4 Computer Software
Chapter 10 authoring
Chapter Multimedia Revolution
Chapter 8 Video
Chapter 6 Graphics
Chapter 3 Computer Hardware
7 Things Banks should do with Blockchain
Advancing Dialysis - Cardiovascular Disease
Chapter 7 Sound
Peter Minkjan - Likeconomics
Green tecnlogy patents
Chapter 9 animation
Financing the Future of Sustainability
L'Intrapreneur : entreprendre au sein des entreprises
Iscom Lyon display 2017 session 1
Ad

Similar to S. Responsive Web Design (20)

PPTX
Responsive Web Design
PPTX
Intro to Responsive Web Design
PPT
Alexa IT Solution Responsive Web designing
PDF
Responsive web design
PPTX
Responsive web design ppt
PPTX
esponsive web design means that your website (
PPTX
Responsive Web Development
PPTX
Reponsive web design (HTML5 + css3)
PPTX
reponsive-web-design.pptx
PPTX
reponsive-web-design.pptx
PPT
Responding Responsively
PDF
Responsive Web Designs
PPTX
Responsive Web Design | Website Designing
PPT
Why should we build our website responsive
PDF
Design responsively
PDF
Responsive Web Design
PPTX
Wunderman - Responsive Design
PPTX
Wunderman Responsive Design
PDF
Responsive Web Design
PDF
Responsive Web Design (HeadStart TechTalks)
Responsive Web Design
Intro to Responsive Web Design
Alexa IT Solution Responsive Web designing
Responsive web design
Responsive web design ppt
esponsive web design means that your website (
Responsive Web Development
Reponsive web design (HTML5 + css3)
reponsive-web-design.pptx
reponsive-web-design.pptx
Responding Responsively
Responsive Web Designs
Responsive Web Design | Website Designing
Why should we build our website responsive
Design responsively
Responsive Web Design
Wunderman - Responsive Design
Wunderman Responsive Design
Responsive Web Design
Responsive Web Design (HeadStart TechTalks)
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Lesson notes of climatology university.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Basic Mud Logging Guide for educational purpose
PDF
Complications of Minimal Access Surgery at WLH
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Cell Structure & Organelles in detailed.
PPTX
master seminar digital applications in india
PPTX
Pharma ospi slides which help in ospi learning
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Lesson notes of climatology university.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
TR - Agricultural Crops Production NC III.pdf
Pre independence Education in Inndia.pdf
Anesthesia in Laparoscopic Surgery in India
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Pharmacology of Heart Failure /Pharmacotherapy of CHF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Basic Mud Logging Guide for educational purpose
Complications of Minimal Access Surgery at WLH
O5-L3 Freight Transport Ops (International) V1.pdf
01-Introduction-to-Information-Management.pdf
Computing-Curriculum for Schools in Ghana
Cell Structure & Organelles in detailed.
master seminar digital applications in india
Pharma ospi slides which help in ospi learning
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

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

  • #4: In April 2015 Google search expanded its use of mobile-friendliness as a ranking signal.
  • #6: Based on concept of responsive architectural design, whereby a room or space automatically adjusts to the number and flow of people within it.
  • #16: Think of this as a way to test width, height and other attributes of browser
  • #23: 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.