44
Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow Think Mobile First Then Enhance

Think Mobile First, Then Enhance

  • Upload
    confoo

  • View
    1.265

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Think Mobile First, Then Enhance

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

ThinkMobileFirstThenEnhance

Page 2: Think Mobile First, Then Enhance

Karl DubostOpera SoftwareDeveloper Relations

@karlpro

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 3: Think Mobile First, Then Enhance

Toys?

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 4: Think Mobile First, Then Enhance

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 5: Think Mobile First, Then Enhance

Mobile?

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 6: Think Mobile First, Then Enhance

Mobile?

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 7: Think Mobile First, Then Enhance

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 8: Think Mobile First, Then Enhance

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 9: Think Mobile First, Then Enhance

How far is the screen?

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 10: Think Mobile First, Then Enhance

Screens…

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 11: Think Mobile First, Then Enhance

WAP, C-HTML, …

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 12: Think Mobile First, Then Enhance

Do Nothing

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 13: Think Mobile First, Then Enhance

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 14: Think Mobile First, Then Enhance

Liquid or Semi-LiquidLayout

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 15: Think Mobile First, Then Enhance

www. m.

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 16: Think Mobile First, Then Enhance

User Agent Sniffing?

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 17: Think Mobile First, Then Enhance

User Agent Sniffing!

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 18: Think Mobile First, Then Enhance

User Agents…

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 19: Think Mobile First, Then Enhance

Cookies… if not then

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 20: Think Mobile First, Then Enhance

HTML

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 21: Think Mobile First, Then Enhance

viewport

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 22: Think Mobile First, Then Enhance

viewport

<meta name="viewport" content="width=device-width">

See @goetter http://slidesha.re/ew4LVM

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 23: Think Mobile First, Then Enhance

mediaqueries

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 24: Think Mobile First, Then Enhance

mediaqueries

body {// basic styles}

@media all and (max-width: 600px) {body {// extra styles for mobile}}

See @ppk http://www.quirksmode.org/blog/archives/2010/09/combining_meta.html

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 25: Think Mobile First, Then Enhance

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 26: Think Mobile First, Then Enhance

user experience

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 27: Think Mobile First, Then Enhance

Mobile strategy… mess.

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 28: Think Mobile First, Then Enhance

Logs & Market Share

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 29: Think Mobile First, Then Enhance

Ouch!

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 30: Think Mobile First, Then Enhance

User agent… again

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 31: Think Mobile First, Then Enhance

Meh…

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 32: Think Mobile First, Then Enhance

Time To Think

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 33: Think Mobile First, Then Enhance

Simplicity, Basics, Users

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 34: Think Mobile First, Then Enhance

mediaqueries

body {// basic styles}

@media all and (max-width: 600px) {body {// extra styles for mobile}}

@media all and (min-width: 600px) {body {// extra styles for desktop}}

See @ppk http://www.quirksmode.org/blog/archives/2010/09/combining_meta.html

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 35: Think Mobile First, Then Enhance

Tools & Techniques

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 36: Think Mobile First, Then Enhance

Co-hosted files

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 37: Think Mobile First, Then Enhance

Sprites

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 38: Think Mobile First, Then Enhance

gzip

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 39: Think Mobile First, Then Enhance

remote debugging

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 40: Think Mobile First, Then Enhance

Opera Dragonfly

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 41: Think Mobile First, Then Enhance

love hate

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 42: Think Mobile First, Then Enhance

Understand Users

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 43: Think Mobile First, Then Enhance

Think mobile first

how come this �more usable on desktop too

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow

Page 44: Think Mobile First, Then Enhance

Karl [email protected]/karlcow

questions?

Think Mobile First, Then Enhance - Karl Dubost - http://my.opera.com/karlcow