SlideShare a Scribd company logo
Understanding Responsive Web Design
Chiheb Chebbi
Chiheb-chebbi@tek-up.de
What is responsive design?
Responsive web design (RWD) is an approach to web design with a
strong emphasis on image viewing experience to make reading easier
and minimize:
Resizing , panning, and scrolling for “simpler” navigation.
This common set of best user experience practices can be
applied to a wide range of devices, including mobile phones
and desktop computers
Why responsive design?
Next Year Phones and Tablets will overtake Desktop Computer as the primary way people get Online
Fonts
Ems Percentages Rems
The best way to implement a responsive font size is to
use:
Is relative to parent's font
size, eg. 2em = 28px if
parent element's font-size
is 14px.
percentages are resizeable
units for font size, and their
CSS declarations can be
inherited
is relative to the html
element's font-size.
Typography is one of the most important aspects of
responsive web design
img { max-width: 100%;
height: auto; }
Fluid Images
One way around this is to size images in relative units, rather than absolute
pixel dimensions.
The most common relative solution is to set the max-width at the image at 100%
and the data-fullsrc attribute
Fluid Grids
“A fluid is a substance that continually deforms (flows)
under an applied shear stress” – Wikipedia
Regardless of what the device or screen size is, components
in fluid designs are going to flow and adapt to the user
environment.
Media Queries
<link rel="stylesheet" media="screen and
(max-width: 640px)" href="smallscreen.css"
type="text/css" />
Target specific screen sizes with Different styles
You can change styles depending on :
Height and width of the browser
Screen resolution
Orientation of the device
In a fluid website layout,
also referred to as a liquid
layout, the majority of the
components inside have
percentage widths, and
thus adjust to the user’s
screen resolution
Fixed-width layouts Liquid layouts
A fixed website layout has
a wrapper that is a fixed
width, and the
components inside it have
either percentage widths
or fixed widths.
Elastic layouts Hybrid layouts
There are hybrid layouts,
which combine the
characteristics of two or
more of the layouts
discussed
It works by sizing all
elements with em‘s.
The advantages of grid layouts are numerous :
• Gives order, originality, and harmony to the presentation of content;
• Allows users to predict where to find the information they need
• Makes it easier to add new content without having it looking disjointed or marginalized.
Custom Grid Layouts
<div id="wrapper">
<div id="header">Header</div>
<div id="content">Content</div>
<div id="sidebar">Sidebar</div>
<div id="footer">Footer</div>
</div>
Code Example:
Sencha.io Src?
Sencha.io Src helps
you dynamically
resize images for the
ever increasing
number of mobile
screen sizes.
Here are three JavaScript solutions that can help us serve
responsive websites to older browsers lacking CSS3 support:
JavaScript Solutions
Respond.js Modernizr Adaptive.960.js
Thank you 

More Related Content

PPSX
Responsive web design
PDF
Responsive web design
PPT
Dreamweaver
PPSX
Dream weaver
PPTX
Aside, within HTML5 + CSS
PPT
Dream weaver
PPTX
PPTX
Dream weaver
Responsive web design
Responsive web design
Dreamweaver
Dream weaver
Aside, within HTML5 + CSS
Dream weaver
Dream weaver

What's hot (19)

PPT
GTU Web Designing Interview Questions And Answers for freshers
ODP
Html tutorial 5
PPTX
Front-end development introduction (HTML, CSS). Part 1
PPTX
3 dot technologies by deepak modi
PDF
3 dot technologies by deepak modi
PDF
Introduction to Responsive Web Design
PPTX
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
PDF
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
PPTX
Web designing training in chandigarh
PDF
The Dark Arts of CSS
PDF
Web Design & Development Courses in Pune| 3DOT Technologies
PDF
Introduction to HTML5 and CSS3
PPTX
Top frontend web development tools
PPTX
Front-end development introduction (JavaScript). Part 2
PPTX
Angular JS - KNOWARTH
PDF
Accessibility and css - Lisa Seeman
PPTX
Web Development
PPTX
Web topic 9 navigation and link
PPTX
Web deveplopment courses in pune
GTU Web Designing Interview Questions And Answers for freshers
Html tutorial 5
Front-end development introduction (HTML, CSS). Part 1
3 dot technologies by deepak modi
3 dot technologies by deepak modi
Introduction to Responsive Web Design
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
Web designing training in chandigarh
The Dark Arts of CSS
Web Design & Development Courses in Pune| 3DOT Technologies
Introduction to HTML5 and CSS3
Top frontend web development tools
Front-end development introduction (JavaScript). Part 2
Angular JS - KNOWARTH
Accessibility and css - Lisa Seeman
Web Development
Web topic 9 navigation and link
Web deveplopment courses in pune
Ad

Viewers also liked (17)

PPTX
Struktur pentadbiran nabi Muhammmad di Madinah
PPTX
Week 5 storyboard norling
PPTX
Startups
PPTX
Kota konstantinople
PPT
Led writing board
PPTX
Cry engine global game jam 2013
PPTX
Gwab2014
PPTX
Windows 8 dev
PPS
NCF corporate
DOC
Coevaluacion referencias
PPSX
Imaginecup
PPTX
Windows azure Presentation
PDF
Sanjay flow chart
PPTX
Construct 2 ggj 2013
PPTX
Mobile Health Game (SigCom Event 2015)
ODP
Security In Internet Banking
Struktur pentadbiran nabi Muhammmad di Madinah
Week 5 storyboard norling
Startups
Kota konstantinople
Led writing board
Cry engine global game jam 2013
Gwab2014
Windows 8 dev
NCF corporate
Coevaluacion referencias
Imaginecup
Windows azure Presentation
Sanjay flow chart
Construct 2 ggj 2013
Mobile Health Game (SigCom Event 2015)
Security In Internet Banking
Ad

Similar to Responsive Web Design (20)

PPTX
Responsive web design ppt
PDF
Module 08: Responsive Web Design
PPTX
Chapter 17: Responsive Web Design
PDF
Responsive web design
KEY
Introduction to Responsive Web Design
KEY
An Introduction to Responsive Web Design
PDF
Responsive and Mobile Design
PPT
Mobile Monday Presentation: Responsive Web Design
PDF
Responsive Web Design
PDF
Responsive Web Site Design
PDF
Keys to Responsive Design
PPTX
Responsive design
PDF
Sbwire 531031
PPTX
Using Responsive Web Design To Make Your Web Work Everywhere
PPTX
Responsive Web Design - NYC Webgrrls
PPTX
Responsive Web Design
PDF
Responsive Web Design
PPTX
esponsive web design means that your website (
KEY
Responsive Web Design
PDF
Responsive design
Responsive web design ppt
Module 08: Responsive Web Design
Chapter 17: Responsive Web Design
Responsive web design
Introduction to Responsive Web Design
An Introduction to Responsive Web Design
Responsive and Mobile Design
Mobile Monday Presentation: Responsive Web Design
Responsive Web Design
Responsive Web Site Design
Keys to Responsive Design
Responsive design
Sbwire 531031
Using Responsive Web Design To Make Your Web Work Everywhere
Responsive Web Design - NYC Webgrrls
Responsive Web Design
Responsive Web Design
esponsive web design means that your website (
Responsive Web Design
Responsive design

Recently uploaded (20)

PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PPTX
Wisp Textiles: Where Comfort Meets Everyday Style
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PDF
Interior Structure and Construction A1 NGYANQI
PPTX
HPE Aruba-master-icon-library_052722.pptx
PDF
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PDF
BRANDBOOK-Presidential Award Scheme-Kenya-2023
PDF
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PDF
Phone away, tabs closed: No multitasking
PPTX
rapid fire quiz in your house is your india.pptx
PPTX
areprosthodontics and orthodonticsa text.pptx
PDF
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
PPTX
6- Architecture design complete (1).pptx
PPT
Machine printing techniques and plangi dyeing
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PPTX
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
Wisp Textiles: Where Comfort Meets Everyday Style
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
Interior Structure and Construction A1 NGYANQI
HPE Aruba-master-icon-library_052722.pptx
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
YOW2022-BNE-MinimalViableArchitecture.pdf
BRANDBOOK-Presidential Award Scheme-Kenya-2023
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
Phone away, tabs closed: No multitasking
rapid fire quiz in your house is your india.pptx
areprosthodontics and orthodonticsa text.pptx
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
6- Architecture design complete (1).pptx
Machine printing techniques and plangi dyeing
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"

Responsive Web Design

  • 1. Understanding Responsive Web Design Chiheb Chebbi Chiheb-chebbi@tek-up.de
  • 2. What is responsive design? Responsive web design (RWD) is an approach to web design with a strong emphasis on image viewing experience to make reading easier and minimize: Resizing , panning, and scrolling for “simpler” navigation. This common set of best user experience practices can be applied to a wide range of devices, including mobile phones and desktop computers
  • 3. Why responsive design? Next Year Phones and Tablets will overtake Desktop Computer as the primary way people get Online
  • 4. Fonts Ems Percentages Rems The best way to implement a responsive font size is to use: Is relative to parent's font size, eg. 2em = 28px if parent element's font-size is 14px. percentages are resizeable units for font size, and their CSS declarations can be inherited is relative to the html element's font-size. Typography is one of the most important aspects of responsive web design
  • 5. img { max-width: 100%; height: auto; } Fluid Images One way around this is to size images in relative units, rather than absolute pixel dimensions. The most common relative solution is to set the max-width at the image at 100% and the data-fullsrc attribute
  • 6. Fluid Grids “A fluid is a substance that continually deforms (flows) under an applied shear stress” – Wikipedia Regardless of what the device or screen size is, components in fluid designs are going to flow and adapt to the user environment.
  • 7. Media Queries <link rel="stylesheet" media="screen and (max-width: 640px)" href="smallscreen.css" type="text/css" /> Target specific screen sizes with Different styles You can change styles depending on : Height and width of the browser Screen resolution Orientation of the device
  • 8. In a fluid website layout, also referred to as a liquid layout, the majority of the components inside have percentage widths, and thus adjust to the user’s screen resolution Fixed-width layouts Liquid layouts A fixed website layout has a wrapper that is a fixed width, and the components inside it have either percentage widths or fixed widths.
  • 9. Elastic layouts Hybrid layouts There are hybrid layouts, which combine the characteristics of two or more of the layouts discussed It works by sizing all elements with em‘s.
  • 10. The advantages of grid layouts are numerous : • Gives order, originality, and harmony to the presentation of content; • Allows users to predict where to find the information they need • Makes it easier to add new content without having it looking disjointed or marginalized. Custom Grid Layouts
  • 11. <div id="wrapper"> <div id="header">Header</div> <div id="content">Content</div> <div id="sidebar">Sidebar</div> <div id="footer">Footer</div> </div> Code Example:
  • 12. Sencha.io Src? Sencha.io Src helps you dynamically resize images for the ever increasing number of mobile screen sizes.
  • 13. Here are three JavaScript solutions that can help us serve responsive websites to older browsers lacking CSS3 support: JavaScript Solutions Respond.js Modernizr Adaptive.960.js