54
#rwd: KRAKÓW 21.02.2013 Wojtek Zając Buzzword or revolution?

Responsive Web Design: buzzword or revolution?

Embed Size (px)

DESCRIPTION

Presentation given at http://techcamp.pl/ event in Kraków, Poland.

Citation preview

Page 1: Responsive Web Design: buzzword or revolution?

#rwd:

KRAKÓW 21.02.2013Wojtek Zając

Buzzword or revolution?

Page 3: Responsive Web Design: buzzword or revolution?

BUZZ·WORDnoun

Page 4: Responsive Web Design: buzzword or revolution?

HTML5

next generationWeb 2.0

Cloud computing

AJAX

MVP

long tail

Flash

Page 5: Responsive Web Design: buzzword or revolution?

Is #RWD*the new one?

* Responsive Web Design

Page 6: Responsive Web Design: buzzword or revolution?

Czy #RWD*to kolejny z nich?

* Responsive Web Design

no

Page 7: Responsive Web Design: buzzword or revolution?

mobilerevolution

Page 8: Responsive Web Design: buzzword or revolution?

46%of population has access

to a mobile phone (of any kind)

http://www.economist.com/blogs/babbage/2012/10/global-mobile-usage?fsrc=scn/tw_ec/sim_earth

http://www.flickr.com/photos/captain_die/7697183522/

Page 9: Responsive Web Design: buzzword or revolution?

1,083billion of smartphones

used worldwide

http://www.lukew.com/ff/entry.asp?1644

http://www.flickr.com/photos/lng0004/7881151510/

Page 10: Responsive Web Design: buzzword or revolution?

59%of smartphone owners

use them every day

http://www.thinkwithgoogle.com/mobileplanet/en/

Page 11: Responsive Web Design: buzzword or revolution?

content strategy

http://www.flickr.com/photos/yourdon/2715583000/

Page 12: Responsive Web Design: buzzword or revolution?

http://xkcd.com/1174/

Page 13: Responsive Web Design: buzzword or revolution?

context != intent

Page 14: Responsive Web Design: buzzword or revolution?

http://blogs.forrester.com/sarah_rotman_epps/12-04-11-the_tablet_tv_connection

85%of US tablet owners

use them while watching tv

Page 15: Responsive Web Design: buzzword or revolution?

“Mobile must never be a dumbed-down,

limited experience.”

— Steven Hoober

http://www.flickr.com/photos/chrisjl/5664339020/

Page 16: Responsive Web Design: buzzword or revolution?

Content parityhttp://alistapart.com/article/your-content-now-mobile

Page 17: Responsive Web Design: buzzword or revolution?

Designingfor people,not devices

http://www.flickr.com/photos/epsos/5644801034/

Page 18: Responsive Web Design: buzzword or revolution?

InclusiveDesign

Page 20: Responsive Web Design: buzzword or revolution?
Page 21: Responsive Web Design: buzzword or revolution?

embracelong tail

of devices

Page 23: Responsive Web Design: buzzword or revolution?

CANVAS-INvs

Content-out

Page 24: Responsive Web Design: buzzword or revolution?

ProgressiveEnhancement

http://www.flickr.com/photos/aigle_dore/4089511514/

Page 25: Responsive Web Design: buzzword or revolution?

• dedicated mobile websites

• Responsive Web Design

• “Mobile last”

• Mobile first

• RESS

Possible approaches

Page 26: Responsive Web Design: buzzword or revolution?

``````````````````towards responsive website

steps3

Page 27: Responsive Web Design: buzzword or revolution?

@media screen and (min-width: 50em) { article { float::left; }}

<meta name="viewport" content="width=device-width, initial-scale=1.0">

1. Media Queries

Page 28: Responsive Web Design: buzzword or revolution?

@mediaonly screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (-o-min-device-pixel-ratio: 3/2),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5) { /* CSS styles */}

Detecting high density displays

Page 29: Responsive Web Design: buzzword or revolution?

checkbackwards

compability(caniuse.com)

Page 30: Responsive Web Design: buzzword or revolution?

2. adapt your interface

Page 31: Responsive Web Design: buzzword or revolution?

1. linearize your content

http://www.flickr.com/photos/stuartpilbrow/3565808509/

Page 32: Responsive Web Design: buzzword or revolution?

2. adapt to mobile screen size

http://www.flickr.com/photos/stuartpilbrow/3565808509/

Page 33: Responsive Web Design: buzzword or revolution?

3. input device independence

http://www.flickr.com/photos/stuartpilbrow/3565808509/

Page 34: Responsive Web Design: buzzword or revolution?

4. utilize touch events

http://www.flickr.com/photos/stuartpilbrow/3565808509/

Page 35: Responsive Web Design: buzzword or revolution?

5. common html

http://www.flickr.com/photos/stuartpilbrow/3565808509/

Page 36: Responsive Web Design: buzzword or revolution?

DEMO

Page 37: Responsive Web Design: buzzword or revolution?

3. responsive media

Page 38: Responsive Web Design: buzzword or revolution?

1.25MBaverage page weight (2012)

http://wpdaily.co/responsive-server-side/

86%of responsive websites

don’t optimize resources

http://www.lukew.com/ff/entry.asp?1681

Page 40: Responsive Web Design: buzzword or revolution?

responsive images

adaptive-images.com

Page 41: Responsive Web Design: buzzword or revolution?

optimizefront-end

performance!

Page 42: Responsive Web Design: buzzword or revolution?
Page 43: Responsive Web Design: buzzword or revolution?

xui,a lightweight

js libraryxuijs.com

Page 44: Responsive Web Design: buzzword or revolution?

responsivedesign

process

Page 45: Responsive Web Design: buzzword or revolution?

responsiveprototyping

(uxpin.com)

Page 46: Responsive Web Design: buzzword or revolution?

testingbreakpoints

quirktools.com/screenfly

Page 47: Responsive Web Design: buzzword or revolution?

css style guides

http://www.starbucks.com/static/reference/styleguide/

Page 49: Responsive Web Design: buzzword or revolution?

CSS frameworks

Page 50: Responsive Web Design: buzzword or revolution?

Mobile emulatorshttp://www.mobilexweb.com/emulators

Page 51: Responsive Web Design: buzzword or revolution?

preview allyour devicessimultaneously(Adobe Edge Inspect)

Page 52: Responsive Web Design: buzzword or revolution?

Stayfuture

friendly.