SlideShare a Scribd company logo
1 of 36
Download to read offline
Why?	– Mobile
0 Many	people	access	your	website	via	smartphones	
and	other	mobile	devices
0Your	content	is	no	more	than	3	taps	
away	from	“Angry	Birds”
Image	src:	http://www.angrybirds.com/
It	is	2013?
0 Which	sites	would	you	prefer	to	visit?	Be	quick!
or
1…2…3…
Screen	resolution	should	be	optimized	for???
Splinternet ?
0 Consider	Android mid‐2012	[	3,997	distinct	devices	]
Short	URL	to	original	article	‐ http://markdubois.me/DroidFragment
Education
0 I	teach	CMWEB	280	Multi‐screen
0 First	3	weeks	we	focus	on	the	fundamentals
Terminology
0 Adaptive web	design
0 Coined	by	Aaron	Gustafson
0 Content	will	change	to	fit	a	predefined	set	of	screen	
sizes	
0 Media	queries	are	core
0 Responsive web	design
0 Coined	by	Ethan	Marcotte
0 Content	will	fluidly	change	to	fit	any	screen	or	device
0 Media	queries	are	a	part,	but	pages	more	fluid
Responsive	Web	Design
0 Philosophy	and	development	strategy
0 Multi‐screen/	post‐PC	world
0 Focus	on	various	viewport	sizes
0 Single	front	end
0 Flexible	grids
0 Flexible	images
0 Media	queries	(may	change	content	based	on	available	
screen	real	estate)
RWD	– early	page
0 http://alistapart.com/article/responsive‐web‐design
Responsive	Design
0 http://alistapart.com/article/responsive‐web‐design
RWD	– simple	example
0 http://markdubois.me/RWDEx01
RWD	– code
0 http://markdubois.me/RWDEx01
0 HTML
0 CSS
<img class="respImg"	src="orchid.jpg"	/>
img {
display:block;
margin‐left:	auto;
margin‐right:	auto;
}
.respImg {
width:66%;
}
RWD	– Text	Example
0 http://markdubois.me/RWDEx02
#sidebar	{
width:22.1763598%;
….
float:left;
}
#content	{
width:77.8236402%;
…
float:right;
}
RWD	– code
0 http://markdubois.me/RWDEx02
0 HTML
0 CSS
<div	id="wrapper">
<div	id="sidebar"><p>…</p>
<div	id=“content”><p>…</p>
#wrapper	{
display:block;
margin‐left:	auto;
margin‐right:	auto;
width:90%;
}
#wrapper	{
display:block;
margin‐left:	auto;
margin‐right:	auto;
width:90%;
}
DIY
0 Probably	want	an	underlying	grid	system
0 Consider	Heroku variable	grid	system as	example
DIY	(2)
0 Develop	solid	understanding	of	how	fluid	grids	work	
in	RWD
0 Good	starting	article
DIY	(3)
0 This	can	get	complex	quickly
0 85	responsive	design	tools article
Retrofit	Existing	Websites
Pro Con
0 Single	code	base
0 One	URL	@	page
0 Adapts	to	various	
screen	sizes
0 May	have	heavy,	
slow	loading	pages
0 May	have	to	make	
significant	changes	
to	existing	websites
0 Often	have	to	
decide	what	to	
leave	out	for	
phones
RWD	– simple	example
0 http://markdubois.me/RWDEx01
0 Extreme	example	– larger	photo	~	4	sec
0 Want	higher	res	for	retina	displays
0 Contrast	with	quick	loads	on	mobile
Media	Queries
0 Typically	write	CSS	for	desktop,	tablet,	phone
0 If	starting	anew	– think	mobile	first	(limited	space	and	
UX)
0 Have	to	create	separate	CSS	documents
<!– Phone	‐‐>
<link	href="phone.css"	rel="stylesheet"	type="text/css"	media="only	
screen	and	(max‐width:320px)">
<!‐‐ Tablet	‐‐>
<link	href="tablet.css"	rel="stylesheet"	type="text/css"	media="only	
screen	and	(min‐width:321px)	and	(max‐width:768px)">
<!‐‐ Desktop	‐‐>
<link	href="desktop.css"	rel="stylesheet"	type="text/css"	
media="only	screen	and	(min‐width:769px)">
Issues
0 Code	can	grow	complex	rapidly
0 Really	good	idea	to	have	valid code
0 SEO
0 Accessibility
Tools	?
Dreamweaver	CS6
0 http://creative.adobe.com
0 File	>	New	Fluid	Grid	Layout
Initial	File
0 Desktop
Initial	File
0 Phone
Adding	new	items
0 Insert	>	Div
0 Result
Define	for	@
0 Tablet
0 Phone
DW	CS6	demo
Example	Page
0 This	was	created	entirely	in	design	view	in	DW
0 Page	contains	links	to	sites	mentioned	during	this	
presentation.
0 http://markdubois.me/RWDEx03
Alternate	tool
0 Edge	Reflow	(recent		release)	– works	best	for	Chrome	
browser
Edge	Reflow
0 http://html.adobe.com/edge/reflow/ ‐ preview
Edge	Reflow
0 http://html.adobe.com/edge/reflow/ ‐ preview
Edge	Reflow
0 http://html.adobe.com/edge/reflow/ ‐ preview
0 Features:
0 Set	pins	for	various	screen	sizes	(media	queries)
0 Layout	and	styling	tabs
0 Web	fonts
0 Grouping	objects
0 CSS‐3	enhancements	(apply	properties	to	all	regions)
0 Inspection	tools
0 Preview	in	Chrome	(only	for	now)
RWD
0 http://creative.adobe.com
0 Questions?	
Please	use	question	pod
@Mark_DuBois (twitter)
Mark@WebProfessionals.org
Slides
http://markdubois.me/2013Apr30
Responsive web design

More Related Content

Similar to Responsive web design

Responsive Web Designs.pdf
Responsive Web Designs.pdfResponsive Web Designs.pdf
Responsive Web Designs.pdfJiniya Bipasha
 
Responsive Web Design_2013
Responsive Web Design_2013Responsive Web Design_2013
Responsive Web Design_2013Achieve Internet
 
Mobile SEO (English Version)
Mobile SEO (English Version)Mobile SEO (English Version)
Mobile SEO (English Version)ssuserd60633
 
Responsive Design
Responsive DesignResponsive Design
Responsive DesignCindy Royal
 
Responsive web design ppt
Responsive web design pptResponsive web design ppt
Responsive web design pptNAWAZ KHAN
 
Responsive web design
Responsive web designResponsive web design
Responsive web designZeeshan Khan
 
Responsive Design
Responsive DesignResponsive Design
Responsive DesignCindy Royal
 
Adaptive vs Responsive Layouts
Adaptive vs Responsive LayoutsAdaptive vs Responsive Layouts
Adaptive vs Responsive LayoutsIhor Zenich
 
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 responsiveOmkarsoft Bangalore
 
What Is Responsive website
What Is Responsive websiteWhat Is Responsive website
What Is Responsive websiteborjanshoes
 
Responsive website
Responsive websiteResponsive website
Responsive websiteborjanshoes
 
Responsive Web design Zambig
Responsive Web design ZambigResponsive Web design Zambig
Responsive Web design ZambigTribune Media
 
Responsive Web Design- Trending
Responsive Web Design- TrendingResponsive Web Design- Trending
Responsive Web Design- TrendingDeepakHavock
 
11 Tested Ways On How To Build A Mobile Optimized Website.pdf
11 Tested Ways On How To Build A Mobile Optimized Website.pdf11 Tested Ways On How To Build A Mobile Optimized Website.pdf
11 Tested Ways On How To Build A Mobile Optimized Website.pdfSeo board
 
Should Tour SEO Include Responsive Web Design
Should Tour SEO Include Responsive Web DesignShould Tour SEO Include Responsive Web Design
Should Tour SEO Include Responsive Web DesignContent Equals Money
 
Siti web per device multipli by Dino esposito, Francesco Esposito
Siti web per device multipli by Dino esposito, Francesco EspositoSiti web per device multipli by Dino esposito, Francesco Esposito
Siti web per device multipli by Dino esposito, Francesco EspositoCodemotion
 

Similar to Responsive web design (20)

Responsive Web Designs.pdf
Responsive Web Designs.pdfResponsive Web Designs.pdf
Responsive Web Designs.pdf
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Design_2013
Responsive Web Design_2013Responsive Web Design_2013
Responsive Web Design_2013
 
Mobile SEO (English Version)
Mobile SEO (English Version)Mobile SEO (English Version)
Mobile SEO (English Version)
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Responsive web design ppt
Responsive web design pptResponsive web design ppt
Responsive web design ppt
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Adaptive vs Responsive Layouts
Adaptive vs Responsive LayoutsAdaptive vs Responsive Layouts
Adaptive vs Responsive Layouts
 
Media Query
Media QueryMedia Query
Media Query
 
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
 
What Is Responsive website
What Is Responsive websiteWhat Is Responsive website
What Is Responsive website
 
Responsive website
Responsive websiteResponsive website
Responsive website
 
Mobile seo
Mobile seoMobile seo
Mobile seo
 
Responsive Web design Zambig
Responsive Web design ZambigResponsive Web design Zambig
Responsive Web design Zambig
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Responsive Web Design- Trending
Responsive Web Design- TrendingResponsive Web Design- Trending
Responsive Web Design- Trending
 
11 Tested Ways On How To Build A Mobile Optimized Website.pdf
11 Tested Ways On How To Build A Mobile Optimized Website.pdf11 Tested Ways On How To Build A Mobile Optimized Website.pdf
11 Tested Ways On How To Build A Mobile Optimized Website.pdf
 
Should Tour SEO Include Responsive Web Design
Should Tour SEO Include Responsive Web DesignShould Tour SEO Include Responsive Web Design
Should Tour SEO Include Responsive Web Design
 
Siti web per device multipli by Dino esposito, Francesco Esposito
Siti web per device multipli by Dino esposito, Francesco EspositoSiti web per device multipli by Dino esposito, Francesco Esposito
Siti web per device multipli by Dino esposito, Francesco Esposito
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Responsive web design