Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mobile-First Development: How and Why

Jesse Petersen
September 26, 2015

Mobile-First Development: How and Why

Mobile-first is one of those phrases getting thrown around a lot now, but most often mistakenly as interchangeable with “mobile responsive.” Mobile-first is the holistic design and development approach of both designing for phones first and flipping the stylesheet on its head so media queries are for large mobile on up to desktop and CSS without media queries are for the phone viewport.

Jesse Petersen

September 26, 2015
Tweet

More Decks by Jesse Petersen

Other Decks in Technology

Transcript

  1. WordCamp Tampa 2015 #wctpa :: @jpetersen The 411 on this

    guy WordPress 2005 married 2006 solopreneur 2009 foster dad (28 since) 2012 3 Treehouse courses since 2014 adoptive dad (1) 2015 @jpetersen
  2. WordCamp Tampa 2015 #wctpa :: @jpetersen mobile-first design = designing

    with the smallest mobile experience in mind first
  3. WordCamp Tampa 2015 #wctpa :: @jpetersen mobile-first development = coding

    in such a way that mobile assets are loaded first with bonuses to ignoring desktop assets on mobile devices
  4. WordCamp Tampa 2015 #wctpa :: @jpetersen smallest viewports are not

    a media query largest viewport is the last media query
  5. WordCamp Tampa 2015 #wctpa :: @jpetersen the bulk of your

    stylesheet is mobile therefore, it has a lot of 100% width items smaller font sizes and less pizazz first