Responsive Design
  & Mobile First
     @lukebrooker
There is a
new movement
on the web
We have become
comfortable
We assume everything
can be served on a
960px wide canvas
We are not
print designers...
We are
Web Designers!
“Today, anything that’s fixed and unresponsive isn’t
web design, it’s something else. If you don’t embrace
the inherent fluidity of the web, you’re not a web
designer, you’re something else.
Web design is responsive design, Responsive Web
Design is web design, done right.”
                                          Andy Clarke
We need to move from
prescribed design to
responsive design.
The Stats
The growth of the
mobile web has out
paced the desktop web

8x
Smartphone sales
have surpassed
desktop sales
1 in 5
use the mobile Internet
everyday
The average time spent
a day on smartphones
is more than
30mins
In the next 4 years
mobile Internet usage
will increase
by a factor of 26
But...
Responsive design is
not mobile design
About 87,000 iPads
are sold a day
Add to this - 170,000
iPhones bought a day
and 300,000
android devices
activated a day
That’s557,000
new portable devices
a day
We have more
screens to design for
than ever
320
 X     768   1280
480     X      X
      1024    800   1920
                     X
                    1200
We need to
rethink
Responsive Design
is flexible device
independent design for
the web
OR...
A flexible grid (with flexible images)
that incorporates media queries to create
a responsive, adaptive layout.
Ethan Marcotte
1. Flexible Grids
1. Flexible Grids
Fonts

body {
 font-size: 100%;
}
1. Flexible Grids
Fonts

h2 {
 font-size: 28px;
}
p {
 font-size: 14px;
}
1. Flexible Grids
Fonts... Becomes

h2 {
 font-size: 1.75em;   /* 28px/16px */
}
p {
 font-size: .875em;   /* 14px/16px */
}
1. Flexible Grids
Layout

section {
 width: 960px;
}
1. Flexible Grids
Layout... Becomes

section {
 max-width: 960px;
}
1. Flexible Grids
Layout

figure {
 float: left;
 width: 300px;
 margin: 0 10px;
}
1. Flexible Grids
Layout... Becomes

figure {
 float: left;
 width: 31.25%; /* 300px   / 960px */
 margin: 0 1.0416667;
}
2. Flexible Images
2. Flexible Images
img {

}
2. Flexible Images
img {
 max-width: 100%;
}
2. Flexible Images
img,
video,
object {
 max-width: 100%;
}
2. Flexible Images
Issue #1: IE6 Bug

img,
video,
object {
 width: 100%;
}
2. Flexible Images
Issue #2: Windows Image Resizing

Ethan Marcottes Fix
http://unstoppablerobotninja.com/entry/fluid-images
2. Flexible Images
Issue #3: Bandwidth

Filament Fix
http://github.com/filamentgroup/responsive-images
3. Media Queries
3. Media Queries
@media screen and (max-width:
320px;) {
 ...
}
@media screen and (min-width:
800px;) {
 ...
}
3. Media Queries
Issue #1: Browser Compatability
No IE 8,7,6
No Safari 2
No Firefox 1,2

So..
http://code.google.com/p/css3-mediaqueries-js
3. Media Queries
Issue #2: Mobile Resizing
<meta name=”viewport”
content”width=device-width:
initial-scale=1.0”>
After all this our site will
adapt to different
sizes
So where does
mobile first
come in?
What is great about
mobile websites?
The
content
is in your face
What is
Mobile First?
Designing your site for
mobile...
first.

yep thats it.
Really it is
content first
Reasons to design for
mobile first
1. Growth Opportunity
2. Constraints Focus
3. Capabilities Innovation
1. Growth Opportunity

Everyone is on mobile
2. Constraints Focus
2. Constraints Focus

"Design is the process of gradually applying
constraints until an elegant solution remains"
2. Constraints Focus

 • Screen Size - 320 x 480
2. Constraints Focus

 • Screen Size - 320 x 480
 • No Hover
2. Constraints Focus

 • Screen Size - 320 x 480
 • No Hover
 • Speed
2. Constraints Focus

 • Screen Size - 320 x 480
 • No Hover
 • Speed
 • Context
3. Capabilities Innovation
3. Capabilities Innovation

 • Touch
3. Capabilities Innovation

 • Touch
 • Location
3. Capabilities Innovation

 • Touch
 • Location
 • Orientation
3. Capabilities Innovation

 • Touch
 • Location
 • Orientation
 • Voice
3. Capabilities Innovation

 • Touch
 • Location
 • Orientation
 • Voice
 • And more
Implementing it
It's not your standard
workflow
Create Flow
Use Storyboards
Design
in the browser
Iterate
Frameworks
320 and Up - Andy Clarke
http://stuffandnonsense.co.uk/projects/320andup/
Examples
http://mediaqueri.es/

http://yiibu.com/

http://hicksdesign.co.uk/

http://brightondigitalfestival.co.uk/

http://thinkvitamin.com/
Thank You
    @lukebrooker

Responsive Design & Mobile First