SlideShare a Scribd company logo
1 of 70
Download to read offline
Responsive Design
Mobile design and development techniques
What we’re covering
A brief agenda...
•	What is responsive design
•	How to design for mobile effectively
•	Implementing responsive design techniques on the web
•	Frameworks to make your life easier
@mike_tedeschi
http://mtedeschi.com
Why support mobile?
(really? you’re not convinced?)
1.75B Smartphone Users Worldwide
http://www.emarketer.com/Article/Smartphone-Users-Worldwide-Will-Total-175-Billion-2014
1.75B Smartphone Users Worldwide
http://www.emarketer.com/Article/Smartphone-Users-Worldwide-Will-Total-175-Billion-2014
(that’s 300 million more than last year)
55% of Americans have smartphones
http://www.pewinternet.org/2013/09/19/cell-phone-activities-2013/
60% use their phone to go online
http://www.pewinternet.org/2013/09/19/cell-phone-activities-2013/
http://www.pewinternet.org/2013/09/19/cell-phone-activities-2013/
200 million unhappy visitors
200 million unhappy visitors
customers
http://www.pewinternet.org/2013/09/19/cell-phone-activities-2013/
What is responsive design?
What is responsive design?
More than just a buzzword
The web design approach for building sites that adapt and are
optimized for a range of screen resolutions, sizes, and formats.
They “respond” to the conditions
in which the site is viewed.
1200px 996px 480px768px
Desktops and Laptops Tablets Phones
Common breakpoints
For most screen sizes
•	320 px 					 – Mobile portrait
•	480 px 					 – Mobile landscape
•	600 px 					 – Small tablet
•	768 px 					 – Tablet portrait
•	1024 px 					 – Tablet landscape/Netbook
•	1280 px & greater 	– Desktop
Responsive
A d a p t i v e
­versus
Responsive (percentages) Adaptive (pixels)
Responsive (percentages) Adaptive (pixels)
30px
Responsive (percentages) Adaptive (pixels)
12.28% 30px
We usually meet in the middle
Adaptive (fixed-width grid) Responsive (%-based grid)
So, what actually changes?
Adaptive (fixed-width grid)
Navigation
Categories
Categories
Search
Ads = gone
Categories
Images fit
Mobile web design best practices
Best practices & considerations
Think about how people use their phones
•	Consider hand placement
•	Avoid edges and corners if possible
•	Place content in the middle and give room to scroll
•	Make targets an appropriate, easy-to-tap size
•	Don’t place anything important under a target/button
Fingers and hand placement
Ideal hit zone
Ideal hit zone
The short stretch
Ideal hit zone
The long stretch
The short stretch
Avoid the edges
http://4ourth.com/
Inaccurate
http://4ourth.com/
Accurate!Inaccurate
http://4ourth.com/
Be smart with buttons/targets
Contact point +
+
Obscured area
Contact point
Where is the worst place for a button?
Good luck.
How to implement it on the web
(yes, that means writing code)
CSS Media Queries
.content {
	 width: 1024px;
	 margin: 0 auto;
	 background: red;
}
Start with some basic CSS.
What a lovely red box!
That doesn’t seem quite right...
.content {
	 width: 1024px;
	 margin: 0 auto;
	 background: red;
}
@media screen and (max-width: 1023px) {
	.content {
		width: 100%;
		margin: 0 20px;
	}
}
Let’s add in some media queries.
Much better!
So... break that down.
@media screen and (max-width: 1023px) { ... }
rule media parameters
@media screen and (max-width: 1023px) { ... }
print
handheld
projection
tv
aural
braille
embossed
tty
all
@media screen and (max-width: 1023px) { ... }
min-width
max-device-width
min-device-width
device-aspect-ratio
orientation
min-resolution
color
.content {
	 width: 50%;
	 margin: 0 auto;
	 background: red;
}
@media screen and
	(min-width: 320px) and (max-width: 480px) {
		.content {
			width: 100%;
		}
}
Between a range of screen sizes.
.content {
	 width: 50%;
	 margin: 0 auto;
	 background: red;
}
@media screen and
	(min-width: 320px) and (max-width: 480px) {
		.content {
			width: 100%;
		}
}
Between a range of screen sizes.
.content {
	 width: 100%;
	 margin: 0 auto;
	 background: red;
}
@media screen and (orientation: portrait) {
	.content {
		width: 50%;
	}
}
Orientation of the device or window.
.content {
	 width: 100%;
	 margin: 0 auto;
	 background: red;
}
@media screen and (orientation: portrait) {
	.content {
		width: 50%;
	}
}
Orientation of the device or window.
.my-image {
	 width: 100px;
	 background: url(my-image.jpg);
}
@media (-webkit-min-device-pixel-ratio: 2),
	(min-resolution: 192dpi) {
		.my-image {
			background-image: url(my-image@2x.jpg);
			background-size: 100%;
		}	
}
On retina or high-resolution displays.
Frameworks and libraries
Frameworks & libraries
Better than starting from scratch
•	Twitter Bootstrap
•	Zurb Foundation
•	Responsive Grid System
•	Many, many others...
Twitter Bootstrap 3.0
getbootstrap.com
Zurb Foundation 5.0
foundation.zurb.com
Responsive Grid System
responsivegridsystem.com
Go make awesome mobile sites!
@mike_tedeschi
http://mtedeschi.com

More Related Content

Similar to Responsive and Mobile Design

FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
Frédéric Harper
 
Responsive Web Design - 01.26.12
Responsive Web Design - 01.26.12Responsive Web Design - 01.26.12
Responsive Web Design - 01.26.12
Digiflare
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
erikkross
 

Similar to Responsive and Mobile Design (20)

FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
Mobilism 2011: How to put the mobile in the mobile web
Mobilism 2011: How to put the mobile in the mobile webMobilism 2011: How to put the mobile in the mobile web
Mobilism 2011: How to put the mobile in the mobile web
 
Webstrategies presentation
Webstrategies presentationWebstrategies presentation
Webstrategies presentation
 
How To Be an HTML5 Mobile Cloud Champion
How To Be an HTML5 Mobile Cloud ChampionHow To Be an HTML5 Mobile Cloud Champion
How To Be an HTML5 Mobile Cloud Champion
 
Cross Device UI Designing
Cross Device UI DesigningCross Device UI Designing
Cross Device UI Designing
 
Module 08: Responsive Web Design
Module 08: Responsive Web DesignModule 08: Responsive Web Design
Module 08: Responsive Web Design
 
Responsive Design & Mobile First
Responsive Design & Mobile FirstResponsive Design & Mobile First
Responsive Design & Mobile First
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
 
Advancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web DesignAdvancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web Design
 
Workshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototypingWorkshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototyping
 
Pierson lisa mobile_presentation
Pierson lisa mobile_presentationPierson lisa mobile_presentation
Pierson lisa mobile_presentation
 
(Practical) Beyond Responsive Web Design (WordCamp Miami 2011)
(Practical) Beyond Responsive Web Design (WordCamp Miami 2011)(Practical) Beyond Responsive Web Design (WordCamp Miami 2011)
(Practical) Beyond Responsive Web Design (WordCamp Miami 2011)
 
Optimizing content for the "mobile web"
Optimizing content for the "mobile web"Optimizing content for the "mobile web"
Optimizing content for the "mobile web"
 
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
Responsive web designResponsive web design
Responsive web design
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive Design: The "other" way of doing mobile sites.
Responsive Design: The "other" way of doing mobile sites.Responsive Design: The "other" way of doing mobile sites.
Responsive Design: The "other" way of doing mobile sites.
 
#MobileInAction - iRecruitExpo June 2013, Amsterdam
#MobileInAction - iRecruitExpo June 2013, Amsterdam#MobileInAction - iRecruitExpo June 2013, Amsterdam
#MobileInAction - iRecruitExpo June 2013, Amsterdam
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work EverywhereUsing Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
 

Recently uploaded

一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
cyebo
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
JIT KUMAR GUPTA
 

Recently uploaded (20)

The Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptxThe Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptx
 
Bit Dhrumi shah Graphic Designer portfolio
Bit Dhrumi shah Graphic Designer portfolioBit Dhrumi shah Graphic Designer portfolio
Bit Dhrumi shah Graphic Designer portfolio
 
BIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic designBIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic design
 
Levi's Advertisement and camapign design
Levi's Advertisement and camapign designLevi's Advertisement and camapign design
Levi's Advertisement and camapign design
 
Real Smart Art Infographics by Slidesgo.pptx
Real Smart Art Infographics by Slidesgo.pptxReal Smart Art Infographics by Slidesgo.pptx
Real Smart Art Infographics by Slidesgo.pptx
 
Eric Parein CV. Parein in English is best pronounced as PARE-IN
Eric Parein CV. Parein in English is best pronounced as PARE-INEric Parein CV. Parein in English is best pronounced as PARE-IN
Eric Parein CV. Parein in English is best pronounced as PARE-IN
 
Naer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing ProjectNaer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing Project
 
CADD 141 - BIRD Scooter - Cup Holder Photos.pdf
CADD 141 - BIRD Scooter - Cup Holder Photos.pdfCADD 141 - BIRD Scooter - Cup Holder Photos.pdf
CADD 141 - BIRD Scooter - Cup Holder Photos.pdf
 
iF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythreeiF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythree
 
Top 10 Website Designing Hacks for Beginners.pptx.pptx
Top 10 Website Designing Hacks for Beginners.pptx.pptxTop 10 Website Designing Hacks for Beginners.pptx.pptx
Top 10 Website Designing Hacks for Beginners.pptx.pptx
 
The Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to CatwalkThe Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to Catwalk
 
Week of Action 2022_EIT Climate-KIC_Headers
Week of Action 2022_EIT Climate-KIC_HeadersWeek of Action 2022_EIT Climate-KIC_Headers
Week of Action 2022_EIT Climate-KIC_Headers
 
spColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdfspColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdf
 
CADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product PhotosCADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product Photos
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
 
Avoid these common UI/UX design mistakes
 Avoid these common UI/UX design mistakes Avoid these common UI/UX design mistakes
Avoid these common UI/UX design mistakes
 
Abdulaziz Tariq Abdulaziz Mustafa CV 2024
Abdulaziz Tariq Abdulaziz Mustafa CV 2024Abdulaziz Tariq Abdulaziz Mustafa CV 2024
Abdulaziz Tariq Abdulaziz Mustafa CV 2024
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
 
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdfSpring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
 
Heidi Livengood's Professional CADD Portfolio
Heidi Livengood's Professional CADD PortfolioHeidi Livengood's Professional CADD Portfolio
Heidi Livengood's Professional CADD Portfolio
 

Responsive and Mobile Design