SlideShare a Scribd company logo
responsive design
Planning	
   Execution 	
  + 	
   + 	
  Management	
  
With
 OOTSTRAP 3
h#ps://github.com/ecarlisle/responsive-­‐design-­‐pem	
  @eric_carlisle	
  
me, myself, and i
Eric Carlisle
UI / UX Geek @ 
Baltimore, MD 
who?
what?
where?
how?
Agenda
Planning : The Mobile-First Approach
Execution : Introduction to Bootstrap
Management : Workflow, Tooling, Caveats
responsive?
Responsive to what?
device type (screen width)
responsive?
Responsive to what?
Device orientation
responsive?
Responsive to what?
pixel density
responsive?
Responsive to what?
MUCH higher resolutions
responsive?
Responsive to what?
responsive?
Responsive to what?
device type (screen width)
Phablets
(Big-Ass Phones)
responsive?
responsive?
responsive?
Why not just: 
1.  Detect mobile phone?
2.  Navigate to mobile site?
3.  Give option for “Desktop
Version?”
responsive?
Why not just: 
1.  Detect mobile phone?
2.  Navigate to mobile site?
3.  Give option for “Desktop
Version?”
Perhaps the desktop site is
becoming a better default fit
for (some) mobile?
responsive?
IOTthe internet of things
responsive?
(...and is only reflects the consumer market)
IOTthe internet of things
responsive?
Responsive	
  to	
  WHAT	
  NOT?	
  
planning
mobile first
Everyone says…
FOCUS ON
MOBILE!
mobile first
Everyone says…
FOCUS ON
MOBILE!
… and they’re right!
(but not just because of the monstrous mobile market)
mobile first – market forces
What percentage of web usage is mobile?
mobile first – market forces
What percentage of web usage is mobile?
 25%
mobile first – market forces
What percentage of web usage is mobile?

What percentage of adult internet users
own a smart phone?
25%
mobile first – market forces
What percentage of web usage is mobile?
What percentage of adult internet users
own a smart phone?

25%

80%
mobile first – market forces
What percentage of web usage is mobile?

What percentage of adult internet users
own a smart phone?

How many consumers worldwide own a
smartphone?
25%

80%
mobile first – market forces
What percentage of web usage is mobile?

What percentage of adult internet users
own a smart phone?

How many consumers worldwide own a
smartphone?

25%

80%


1.8 billion
(2 billion by 2016)
mobile first – market forces
What percentage of web usage is mobile?


What percentage of adult internet users
own a smart phone?

How many consumers worldwide own a
smartphone?

In the U.S., what percentage of web users
are mobile-only?
25%

80%


1.8 billion
(2 billion by 2016)
mobile first – market forces
What percentage of web usage is mobile?

What percentage of adult internet users
own a smart phone?

How many consumers worldwide own a
smartphone?

In the U.S., what percentage of web users
are mobile-only?
25%

80%


1.8 billion
(2 billion by 2016)

25%
mobile first
“With the mobile market as it is, what other reasons do I need?”
mobile first
“With the mobile market as it is, what other reasons do I need?”
Mobile-first methodologies encourage best
practices for most types of web production.
mobile first
“With the mobile market as it is, what other reasons do I need?”
Mobile-first methodologies encourage best
practices for most types of web production.
	
  Content	
  Focus	
  
Maintainability	
  
Performance	
  
content focus
CONTENT OUT
CONTENT FIRST
Selective,
prioritized
content delivery.
THIS IS THE MOST
IMPORTANT
THING I HAVE TO
SAY.
content focus
CONTENT OUT
CONTENT FIRST
Selective,
prioritized
content delivery.
THIS IS THE MOST
IMPORTANT
THING I HAVE TO
SAY.
How compelling can you make a
story in the duration of an
elevator ride?
content focus
Though there’s no competing with…
content focus
Lorem Ipsum is the enemy!
content focus
Lorem Ipsum is the enemy!
Nam	
  odio	
  leo,	
  lacinia	
  in	
  
metus	
  non,	
  convallis	
  
elementum	
  leo.	
  
Interdum	
  et	
  malesuada	
  
fames	
  ac	
  ante	
  ipsum	
  
primis	
  in	
  faucibus.	
  
Quisque	
  dapibus	
  
rhoncus	
  dignissim.	
  Class	
  
aptent	
  taciF	
  sociosqu.	
  
EFam	
  ut	
  lacus	
  pulvinar,	
  
vulputate	
  augue	
  ac,	
  
gravida	
  enim.	
  Donec	
  ac	
  
justo	
  quis	
  nisi	
  suscipit	
  
sollicitudin.	
  Mauris	
  nec	
  
mi	
  preFum,	
  vulputate	
  
lacus	
  in,	
  gravida	
  justo.	
  
Duis	
  laoreet	
  ipsum	
  
hendrerit	
  cursus.	
  
Lorem	
  ipsum	
  dolor	
  sit	
  
amet,	
  consectetur	
  
adipiscing	
  elit.	
  
Suspendisse	
  libero	
  sapien,	
  
pharetra	
  gravida	
  sapien	
  
id,	
  aliquam	
  luctus	
  risus.	
  
Quisque	
  et	
  arcu	
  ac	
  enim	
  
lacinia	
  viverra	
  et	
  massa.	
  
Duis	
  laoreet	
  ipsum.	
  
Lorem Ipsum
 Posuere	
  Massa
 Hendrerit	
  Cursus
Fusce	
  quis	
  mauris	
  id	
  est	
  Fncidunt	
  
aliquet.	
  Cras	
  fringilla	
  elit	
  augue,	
  
vitae	
  ornare	
  turpis	
  pharetra	
  in.	
  
Donec	
  vel	
  ipsum	
  non	
  est	
  viverra.	
  
Praesent	
  justo	
  magna,	
  vesFbulum	
  nec	
  eleifend	
  in,	
  consectetur	
  sit	
  amet	
  
ex.	
  Nulla	
  elementum	
  venenaFs	
  auctor.	
  Phasellus	
  vitae	
  sem	
  mollis,	
  
vulputate	
  turpis	
  non,	
  cursus	
  ante.	
  Nullam	
  mollis,	
  urna	
  dictum	
  Fncidunt	
  
porMtor,	
  lectus	
  mi	
  fringilla	
  orci,	
  ac	
  rhoncus	
  augue	
  libero	
  quis	
  odio.	
  EFam	
  
at	
  iaculis	
  erat.	
  Praesent	
  pharetra	
  maMs	
  mauris.	
  Phasellus	
  ut	
  augue	
  
eleifend,	
  rutrum	
  sapien	
  quis,	
  lacinia	
  turpis.	
  Aliquam	
  quis	
  ornare	
  quam.	
  
Fusce	
  quis	
  mauris	
  id	
  est	
  Fncidunt	
  aliquet.	
  Cras	
  
fringilla	
  elit	
  augue,	
  vitae	
  ornare	
  turpis	
  pharetra	
  in.	
  
Donec	
  vel	
  ipsum	
  non	
  est	
  viverra.	
  Mauris	
  dolor	
  sapien,	
  
gravida	
  vitae	
  nisi	
  ac,	
  vesFbulum	
  laoreet	
  arcu.	
  Cras	
  
dapibus,	
  metus	
  porMtor	
  sodales	
  mollis,	
  velit.	
  
Cras	
  fringilla	
  elit	
  augue,	
  vitae	
  ornare	
  turpis	
  pharetra	
  
in.	
  Donec	
  vel	
  ipsum	
  non	
  est	
  viverra	
  faucibus.	
  Mauris	
  
cursus	
  bibendum	
  nisi,	
  ac	
  egestas	
  sapien	
  euismod	
  a.	
  
Vivamus	
  erat	
  mi,	
  gravida	
  ac	
  vesFbulum	
  et,	
  aliquam.	
  
What’s going to happen?
content focus
Lorem Ipsum is the enemy!
Nam	
  odio	
  leo,	
  lacinia	
  in	
  
metus	
  non,	
  convallis	
  
elementum	
  leo.	
  
Interdum	
  et	
  malesuada	
  
fames	
  ac	
  ante	
  ipsum	
  
primis	
  in	
  faucibus.	
  
Quisque	
  dapibus	
  
rhoncus	
  dignissim.	
  Class	
  
aptent	
  taciF	
  sociosqu.	
  
EFam	
  ut	
  lacus	
  pulvinar,	
  
vulputate	
  augue	
  ac,	
  
gravida	
  enim.	
  Donec	
  ac	
  
justo	
  quis	
  nisi	
  suscipit	
  
sollicitudin.	
  Mauris	
  nec	
  
mi	
  preFum,	
  vulputate	
  
lacus	
  in,	
  gravida	
  justo.	
  
Duis	
  laoreet	
  ipsum	
  
hendrerit	
  cursus.	
  
Lorem	
  ipsum	
  dolor	
  sit	
  
amet,	
  consectetur	
  
adipiscing	
  elit.	
  
Suspendisse	
  libero	
  sapien,	
  
pharetra	
  gravida	
  sapien	
  
id,	
  aliquam	
  luctus	
  risus.	
  
Quisque	
  et	
  arcu	
  ac	
  enim	
  
lacinia	
  viverra	
  et	
  massa.	
  
Duis	
  laoreet	
  ipsum.	
  
Lorem Ipsum
 Posuere	
  Massa
 Hendrerit	
  Cursus
Fusce	
  quis	
  mauris	
  id	
  est	
  Fncidunt	
  
aliquet.	
  Cras	
  fringilla	
  elit	
  augue,	
  
vitae	
  ornare	
  turpis	
  pharetra	
  in.	
  
Donec	
  vel	
  ipsum	
  non	
  est	
  viverra.	
  
Praesent	
  justo	
  magna,	
  vesFbulum	
  nec	
  eleifend	
  in,	
  consectetur	
  sit	
  amet	
  
ex.	
  Nulla	
  elementum	
  venenaFs	
  auctor.	
  Phasellus	
  vitae	
  sem	
  mollis,	
  
vulputate	
  turpis	
  non,	
  cursus	
  ante.	
  Nullam	
  mollis,	
  urna	
  dictum	
  Fncidunt	
  
porMtor,	
  lectus	
  mi	
  fringilla	
  orci,	
  ac	
  rhoncus	
  augue	
  libero	
  quis	
  odio.	
  EFam	
  
at	
  iaculis	
  erat.	
  Praesent	
  pharetra	
  maMs	
  mauris.	
  Phasellus	
  ut	
  augue	
  
eleifend,	
  rutrum	
  sapien	
  quis,	
  lacinia	
  turpis.	
  Aliquam	
  quis	
  ornare	
  quam.	
  
Fusce	
  quis	
  mauris	
  id	
  est	
  Fncidunt	
  aliquet.	
  Cras	
  
fringilla	
  elit	
  augue,	
  vitae	
  ornare	
  turpis	
  pharetra	
  in.	
  
Donec	
  vel	
  ipsum	
  non	
  est	
  viverra.	
  Mauris	
  dolor	
  sapien,	
  
gravida	
  vitae	
  nisi	
  ac,	
  vesFbulum	
  laoreet	
  arcu.	
  Cras	
  
dapibus,	
  metus	
  porMtor	
  sodales	
  mollis,	
  velit.	
  
Cras	
  fringilla	
  elit	
  augue,	
  vitae	
  ornare	
  turpis	
  pharetra	
  
in.	
  Donec	
  vel	
  ipsum	
  non	
  est	
  viverra	
  faucibus.	
  Mauris	
  
cursus	
  bibendum	
  nisi,	
  ac	
  egestas	
  sapien	
  euismod	
  a.	
  
Vivamus	
  erat	
  mi,	
  gravida	
  ac	
  vesFbulum	
  et,	
  aliquam.	
  
What’s going to happen?
Assumes the 
size of the content.
content focus
What’s going to happen?
maintainability
Progressive Enhancement
instead of
Graceful Degradation
maintainability
Progressive Enhancement
instead of
Graceful Degradation
Graceful	
  DegradaFon	
  
Control	
  compaFbility	
  from	
  complex	
  to	
  simple.	
  
(SubtracFve)	
  
Progressive	
  Enhancement	
  
Control	
  compaFbility	
  from	
  simple	
  to	
  complex.	
  
(AddiFve)	
  
maintainability
Progressive Enhancement
instead of
Graceful Degradation
Progressive	
  Enhancement	
  
Control	
  compaFbility	
  from	
  simple	
  to	
  complex.	
  
(AddiFve)	
  
Graceful degradation is
often much more
complicated than it
would seem.
performance
Performance on mobile is critical:
1.  Short attention spans
2.  Competing with the performance of the carrier
3.  Mobile is less convenient than desktop
performance
Performance on mobile is critical:
1.  Short attention spans
2.  Competing with the performance of the carrier
3.  Mobile is less convenient than desktop

Starting with mobile performance first makes us
increasingly cognizant of performance for all devices.
Performance
Load only what you need:
§  Media, libraries, frameworks
§  Shrink, minify, optimize
§  Less-expensive alternatives (CSS, SVG)
§  Conditional loading 
§  Feature detection (Modernizr)
§  TEST, TEST, TEST! (UI & UX)
execution
bootstrap 3
Awesomeness:
§  Ease of use, quick ramp-up
§  Fantastic grid system
§  Customization
§  Cross-browser consistent
§  Components & Plugins
§  Documentation & Community
the bootstrap misconception
“Every Bootstrap site looks the same.”
They can, but…
the bootstrap misconception
§  Use as much or as little as you need.
§  Change the defaults to anything.
http://getbootstrap.com/customize/
media queries
Conditional CSS for media types & features.
Example Types:
§  Screen
§  Print
§  Speech
§  TV
§  (All)
Example Features:
§  width (display, device)
§  height (display, device)
§  resolution
§  orientation
§  color
media queries
Example Formats:
@media screen and (min-width: 992px) {
/* CSS selectors */
}
@media print {
/* Print selectors */
}
@media (-webkit-min-device-pixel-ratio: 2)
and (min-resolution: 192dpi) {
/* Retina selectors */
}
bootstrap 3 media queries
Mobile first uses “min-width”
(in most cases)




@media (min-width: 768) { ... }
@media (min-width: 992) { ... }
@media (min-width: 1200px) { ... }
Since	
  we’re	
  mobile-­‐first,	
  all	
  default	
  
styles	
  are	
  for	
  the	
  smallest	
  targeted	
  
display.	
  
Container, Row, Column
<div class=“container”>
<div class=“row”>
<div class=“col-[size]-[count]”></div>
</div>
</div>
Enough	
  slides	
  already!	
  
Let’s	
  dig	
  into	
  code	
  examples!	
  
Offsets
<div class=“container”>
<div class=“row”>
<div class=“col-[size]-[count]
col-[size]-offset-[count]”>
</div>
</div>
</div>
MOAR	
  code	
  examples!	
  
utility class example – pulls
<div class=“container”>
<div class=“row”>
<div class=“col-xs-12”>
<div class=“pull-left”>Hello</div>
<div class=“pull-right”>World</div>
</div>
</div>
</div>
MOAR,	
  MOAR	
  code	
  examples!	
  
resets – columns & offsets
<div class=“container”>
<div class=“row”>
<div class=“col-md-6 col-lg-3”></div>
<div class=“col-md-6 col-lg-9”></div>
</div>
</div>
Wait	
  for	
  it…	
  
resets – columns & offsets
<div class=“container”>
<div class=“row”>
<div class=“col-md-6 col-md-offset-6”
“col-lg-3 col-lg-offset-9>
</div>
</div>
</div>
Shazam!	
  More	
  Code!	
  
management
responsive workflows
§  No more silos or assembly lines.
§  Smartly iterate over the production process.
§  Avoid premature fidelity.
(Agile)	
  
Eek, the traditional workflow!
DISCOVER DESIGN
DEVELOP
(AGILE?)
DEPLOY
PROJECT &
ACCOUNT
MGMT.
CUSTOMER /
STAKEHOLDER
APPROVAL APPROVAL APPROVAL APPROVAL APPROVAL
Agile	
  of	
  Waterfall?	
  
Eek, the traditional workflow!
DISCOVER DESIGN
DEVELOP
(AGILE?)
DEPLOY
PROJECT &
ACCOUNT
MGMT.
CUSTOMER /
STAKEHOLDER
APPROVAL APPROVAL APPROVAL APPROVAL APPROVAL
IT’S	
  A	
  
WATERFALL!!	
  
responsive workflows
§  Stay iterative, agile.
§  This isn’t easy!
Risks:	
  
•  Beauocracy	
  
•  Work	
  InjecFon	
  
•  Groupthink	
  
•  “Oops,	
  we’re	
  not	
  actually	
  agile.”	
  	
  
responsive workflows
§  Stay iterative, agile.
§  This isn’t easy!
Risks:	
  
•  Beauocracy	
  
•  Work	
  InjecFon	
  
•  Groupthink	
  
•  “Oops,	
  we’re	
  not	
  actually	
  agile.”	
  	
  
tools – CSS preprocessors
CSS can get big fast!
Keep it modular & manageable.
tools – automation
Bower
 NPM
 Yeoman
Grunt
 Gulp
Testing!
And	
  many,	
  many	
  others!	
  
responsive caveats
§  Sometimes not the easiest sell to a client
§  Contrary to the way we typically visualize
§  Works better when starting from scratch
§  Matching user expectation is trickier!
§  Higher cost
Questions?
Eric Carlisle
@eric_carlisle
eric@ericcarlisle.com
Not	
  very	
  creaMve,	
  is	
  he?	
  

More Related Content

PPTX
Module 1 attitude
PDF
Refreshing Your UI with HTML5, Bootstrap and CSS3
PDF
Introduction to Bootstrap
PPTX
Building a Moodle theme with bootstrap
PDF
Introduce Bootstrap 3 to Develop Responsive Design Application
PPTX
Responsive web-design through bootstrap
PPTX
Bootstrap ppt
PPT
10 blocks expressing feelings
Module 1 attitude
Refreshing Your UI with HTML5, Bootstrap and CSS3
Introduction to Bootstrap
Building a Moodle theme with bootstrap
Introduce Bootstrap 3 to Develop Responsive Design Application
Responsive web-design through bootstrap
Bootstrap ppt
10 blocks expressing feelings

Viewers also liked (18)

PPTX
10 Building Blocks to Business Success
PDF
Responsive websites with Joomla 3 & Bootstrap - Joomla!Day UK 2013
PDF
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
PDF
10 Building Blocks for Enterprise JavaScript
PPTX
Bootstrap [part 2]
PDF
59 Responses to “What’s the Best Business Advice You’ve Ever Received?”
PDF
Bootstrap
PDF
10 CES 2015 Highlights
PDF
Responsive webdesign
PPTX
Inspiring Quotes by Female Designers
PPT
Narcissism
PDF
Introduction to Twitter Bootstrap 3.0.3
PDF
Designing experiences nobody cares about
PDF
Desenvolvimento Front end (AngularJS e Bootstrap)
PDF
Blind Spots in Persuasive Design
PDF
Intro to Wireframing, HCD & Design Thinking
PPTX
Sex Addiction - The Secret Obsession
PDF
Sex Addiction
10 Building Blocks to Business Success
Responsive websites with Joomla 3 & Bootstrap - Joomla!Day UK 2013
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
10 Building Blocks for Enterprise JavaScript
Bootstrap [part 2]
59 Responses to “What’s the Best Business Advice You’ve Ever Received?”
Bootstrap
10 CES 2015 Highlights
Responsive webdesign
Inspiring Quotes by Female Designers
Narcissism
Introduction to Twitter Bootstrap 3.0.3
Designing experiences nobody cares about
Desenvolvimento Front end (AngularJS e Bootstrap)
Blind Spots in Persuasive Design
Intro to Wireframing, HCD & Design Thinking
Sex Addiction - The Secret Obsession
Sex Addiction
Ad

Similar to Responsive Design - Planning, Execution, Management with Bootstrap 3 (20)

PDF
170424 isaca lux slides
PPTX
Pitch deck premium
PPTX
Empowering users to reclaim their Privacy
PDF
Pitch Deck Premium Classic
PDF
Web typography
PDF
Getting Value out of Customer Interactions
PDF
Drupal camp DUBAI 2013
PPSX
TCUK 2012, Ian Ampleford and Peter Jones, Why would we want to talk to customers
PPTX
UTICamp-2020. Size Does Matter, or Is the translation Industry Restructuring ...
PPTX
Anstest1
PPSX
Why would we want to talk to customers or them to us? TCUK 2012
PPTX
Harnessing the Power of the Visual
PPTX
Free digital marketing strategy template presentation
PPT
Sample Presentation
PPTX
digital-marketing.pptx
PDF
Operando Presentation in Athens 2018
PDF
Alexander Graebe
PPTX
Presentation_Idelaplan for business.pptx
PDF
week3_garst_107357_mockupv1
PPTX
Bring Your Own Policy: Internet Use/BYOD Policy by consensus
170424 isaca lux slides
Pitch deck premium
Empowering users to reclaim their Privacy
Pitch Deck Premium Classic
Web typography
Getting Value out of Customer Interactions
Drupal camp DUBAI 2013
TCUK 2012, Ian Ampleford and Peter Jones, Why would we want to talk to customers
UTICamp-2020. Size Does Matter, or Is the translation Industry Restructuring ...
Anstest1
Why would we want to talk to customers or them to us? TCUK 2012
Harnessing the Power of the Visual
Free digital marketing strategy template presentation
Sample Presentation
digital-marketing.pptx
Operando Presentation in Athens 2018
Alexander Graebe
Presentation_Idelaplan for business.pptx
week3_garst_107357_mockupv1
Bring Your Own Policy: Internet Use/BYOD Policy by consensus
Ad

Recently uploaded (20)

PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PPTX
Special finishes, classification and types, explanation
PPTX
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
PPTX
Entrepreneur intro, origin, process, method
PDF
BRANDBOOK-Presidential Award Scheme-Kenya-2023
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PPTX
AD Bungalow Case studies Sem 2.pptxvwewev
DOCX
The story of the first moon landing.docx
PDF
Urban Design Final Project-Site Analysis
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PPTX
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
PPTX
areprosthodontics and orthodonticsa text.pptx
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPT
pump pump is a mechanism that is used to transfer a liquid from one place to ...
PPTX
DOC-20250430-WA0014._20250714_235747_0000.pptx
PPTX
Media And Information Literacy for Grade 12
PDF
Phone away, tabs closed: No multitasking
PPTX
6- Architecture design complete (1).pptx
PDF
Facade & Landscape Lighting Techniques and Trends.pptx.pdf
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
Special finishes, classification and types, explanation
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
Entrepreneur intro, origin, process, method
BRANDBOOK-Presidential Award Scheme-Kenya-2023
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
AD Bungalow Case studies Sem 2.pptxvwewev
The story of the first moon landing.docx
Urban Design Final Project-Site Analysis
YV PROFILE PROJECTS PROFILE PRES. DESIGN
LITERATURE CASE STUDY DESIGN SEMESTER 5.pptx
areprosthodontics and orthodonticsa text.pptx
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
pump pump is a mechanism that is used to transfer a liquid from one place to ...
DOC-20250430-WA0014._20250714_235747_0000.pptx
Media And Information Literacy for Grade 12
Phone away, tabs closed: No multitasking
6- Architecture design complete (1).pptx
Facade & Landscape Lighting Techniques and Trends.pptx.pdf

Responsive Design - Planning, Execution, Management with Bootstrap 3

  • 1. responsive design Planning   Execution  +   +  Management   With OOTSTRAP 3 h#ps://github.com/ecarlisle/responsive-­‐design-­‐pem  @eric_carlisle  
  • 2. me, myself, and i Eric Carlisle UI / UX Geek @ Baltimore, MD who? what? where? how?
  • 3. Agenda Planning : The Mobile-First Approach Execution : Introduction to Bootstrap Management : Workflow, Tooling, Caveats
  • 9. responsive? Responsive to what? device type (screen width) Phablets (Big-Ass Phones)
  • 12. responsive? Why not just: 1.  Detect mobile phone? 2.  Navigate to mobile site? 3.  Give option for “Desktop Version?”
  • 13. responsive? Why not just: 1.  Detect mobile phone? 2.  Navigate to mobile site? 3.  Give option for “Desktop Version?” Perhaps the desktop site is becoming a better default fit for (some) mobile?
  • 15. responsive? (...and is only reflects the consumer market) IOTthe internet of things
  • 19. mobile first Everyone says… FOCUS ON MOBILE! … and they’re right! (but not just because of the monstrous mobile market)
  • 20. mobile first – market forces What percentage of web usage is mobile?
  • 21. mobile first – market forces What percentage of web usage is mobile? 25%
  • 22. mobile first – market forces What percentage of web usage is mobile? What percentage of adult internet users own a smart phone? 25%
  • 23. mobile first – market forces What percentage of web usage is mobile? What percentage of adult internet users own a smart phone? 25% 80%
  • 24. mobile first – market forces What percentage of web usage is mobile? What percentage of adult internet users own a smart phone? How many consumers worldwide own a smartphone? 25% 80%
  • 25. mobile first – market forces What percentage of web usage is mobile? What percentage of adult internet users own a smart phone? How many consumers worldwide own a smartphone? 25% 80% 1.8 billion (2 billion by 2016)
  • 26. mobile first – market forces What percentage of web usage is mobile? What percentage of adult internet users own a smart phone? How many consumers worldwide own a smartphone? In the U.S., what percentage of web users are mobile-only? 25% 80% 1.8 billion (2 billion by 2016)
  • 27. mobile first – market forces What percentage of web usage is mobile? What percentage of adult internet users own a smart phone? How many consumers worldwide own a smartphone? In the U.S., what percentage of web users are mobile-only? 25% 80% 1.8 billion (2 billion by 2016) 25%
  • 28. mobile first “With the mobile market as it is, what other reasons do I need?”
  • 29. mobile first “With the mobile market as it is, what other reasons do I need?” Mobile-first methodologies encourage best practices for most types of web production.
  • 30. mobile first “With the mobile market as it is, what other reasons do I need?” Mobile-first methodologies encourage best practices for most types of web production.  Content  Focus   Maintainability   Performance  
  • 31. content focus CONTENT OUT CONTENT FIRST Selective, prioritized content delivery. THIS IS THE MOST IMPORTANT THING I HAVE TO SAY.
  • 32. content focus CONTENT OUT CONTENT FIRST Selective, prioritized content delivery. THIS IS THE MOST IMPORTANT THING I HAVE TO SAY. How compelling can you make a story in the duration of an elevator ride?
  • 33. content focus Though there’s no competing with…
  • 34. content focus Lorem Ipsum is the enemy!
  • 35. content focus Lorem Ipsum is the enemy! Nam  odio  leo,  lacinia  in   metus  non,  convallis   elementum  leo.   Interdum  et  malesuada   fames  ac  ante  ipsum   primis  in  faucibus.   Quisque  dapibus   rhoncus  dignissim.  Class   aptent  taciF  sociosqu.   EFam  ut  lacus  pulvinar,   vulputate  augue  ac,   gravida  enim.  Donec  ac   justo  quis  nisi  suscipit   sollicitudin.  Mauris  nec   mi  preFum,  vulputate   lacus  in,  gravida  justo.   Duis  laoreet  ipsum   hendrerit  cursus.   Lorem  ipsum  dolor  sit   amet,  consectetur   adipiscing  elit.   Suspendisse  libero  sapien,   pharetra  gravida  sapien   id,  aliquam  luctus  risus.   Quisque  et  arcu  ac  enim   lacinia  viverra  et  massa.   Duis  laoreet  ipsum.   Lorem Ipsum Posuere  Massa Hendrerit  Cursus Fusce  quis  mauris  id  est  Fncidunt   aliquet.  Cras  fringilla  elit  augue,   vitae  ornare  turpis  pharetra  in.   Donec  vel  ipsum  non  est  viverra.   Praesent  justo  magna,  vesFbulum  nec  eleifend  in,  consectetur  sit  amet   ex.  Nulla  elementum  venenaFs  auctor.  Phasellus  vitae  sem  mollis,   vulputate  turpis  non,  cursus  ante.  Nullam  mollis,  urna  dictum  Fncidunt   porMtor,  lectus  mi  fringilla  orci,  ac  rhoncus  augue  libero  quis  odio.  EFam   at  iaculis  erat.  Praesent  pharetra  maMs  mauris.  Phasellus  ut  augue   eleifend,  rutrum  sapien  quis,  lacinia  turpis.  Aliquam  quis  ornare  quam.   Fusce  quis  mauris  id  est  Fncidunt  aliquet.  Cras   fringilla  elit  augue,  vitae  ornare  turpis  pharetra  in.   Donec  vel  ipsum  non  est  viverra.  Mauris  dolor  sapien,   gravida  vitae  nisi  ac,  vesFbulum  laoreet  arcu.  Cras   dapibus,  metus  porMtor  sodales  mollis,  velit.   Cras  fringilla  elit  augue,  vitae  ornare  turpis  pharetra   in.  Donec  vel  ipsum  non  est  viverra  faucibus.  Mauris   cursus  bibendum  nisi,  ac  egestas  sapien  euismod  a.   Vivamus  erat  mi,  gravida  ac  vesFbulum  et,  aliquam.   What’s going to happen?
  • 36. content focus Lorem Ipsum is the enemy! Nam  odio  leo,  lacinia  in   metus  non,  convallis   elementum  leo.   Interdum  et  malesuada   fames  ac  ante  ipsum   primis  in  faucibus.   Quisque  dapibus   rhoncus  dignissim.  Class   aptent  taciF  sociosqu.   EFam  ut  lacus  pulvinar,   vulputate  augue  ac,   gravida  enim.  Donec  ac   justo  quis  nisi  suscipit   sollicitudin.  Mauris  nec   mi  preFum,  vulputate   lacus  in,  gravida  justo.   Duis  laoreet  ipsum   hendrerit  cursus.   Lorem  ipsum  dolor  sit   amet,  consectetur   adipiscing  elit.   Suspendisse  libero  sapien,   pharetra  gravida  sapien   id,  aliquam  luctus  risus.   Quisque  et  arcu  ac  enim   lacinia  viverra  et  massa.   Duis  laoreet  ipsum.   Lorem Ipsum Posuere  Massa Hendrerit  Cursus Fusce  quis  mauris  id  est  Fncidunt   aliquet.  Cras  fringilla  elit  augue,   vitae  ornare  turpis  pharetra  in.   Donec  vel  ipsum  non  est  viverra.   Praesent  justo  magna,  vesFbulum  nec  eleifend  in,  consectetur  sit  amet   ex.  Nulla  elementum  venenaFs  auctor.  Phasellus  vitae  sem  mollis,   vulputate  turpis  non,  cursus  ante.  Nullam  mollis,  urna  dictum  Fncidunt   porMtor,  lectus  mi  fringilla  orci,  ac  rhoncus  augue  libero  quis  odio.  EFam   at  iaculis  erat.  Praesent  pharetra  maMs  mauris.  Phasellus  ut  augue   eleifend,  rutrum  sapien  quis,  lacinia  turpis.  Aliquam  quis  ornare  quam.   Fusce  quis  mauris  id  est  Fncidunt  aliquet.  Cras   fringilla  elit  augue,  vitae  ornare  turpis  pharetra  in.   Donec  vel  ipsum  non  est  viverra.  Mauris  dolor  sapien,   gravida  vitae  nisi  ac,  vesFbulum  laoreet  arcu.  Cras   dapibus,  metus  porMtor  sodales  mollis,  velit.   Cras  fringilla  elit  augue,  vitae  ornare  turpis  pharetra   in.  Donec  vel  ipsum  non  est  viverra  faucibus.  Mauris   cursus  bibendum  nisi,  ac  egestas  sapien  euismod  a.   Vivamus  erat  mi,  gravida  ac  vesFbulum  et,  aliquam.   What’s going to happen? Assumes the size of the content.
  • 39. maintainability Progressive Enhancement instead of Graceful Degradation Graceful  DegradaFon   Control  compaFbility  from  complex  to  simple.   (SubtracFve)   Progressive  Enhancement   Control  compaFbility  from  simple  to  complex.   (AddiFve)  
  • 40. maintainability Progressive Enhancement instead of Graceful Degradation Progressive  Enhancement   Control  compaFbility  from  simple  to  complex.   (AddiFve)   Graceful degradation is often much more complicated than it would seem.
  • 41. performance Performance on mobile is critical: 1.  Short attention spans 2.  Competing with the performance of the carrier 3.  Mobile is less convenient than desktop
  • 42. performance Performance on mobile is critical: 1.  Short attention spans 2.  Competing with the performance of the carrier 3.  Mobile is less convenient than desktop Starting with mobile performance first makes us increasingly cognizant of performance for all devices.
  • 43. Performance Load only what you need: §  Media, libraries, frameworks §  Shrink, minify, optimize §  Less-expensive alternatives (CSS, SVG) §  Conditional loading §  Feature detection (Modernizr) §  TEST, TEST, TEST! (UI & UX)
  • 45. bootstrap 3 Awesomeness: §  Ease of use, quick ramp-up §  Fantastic grid system §  Customization §  Cross-browser consistent §  Components & Plugins §  Documentation & Community
  • 46. the bootstrap misconception “Every Bootstrap site looks the same.” They can, but…
  • 47. the bootstrap misconception §  Use as much or as little as you need. §  Change the defaults to anything. http://getbootstrap.com/customize/
  • 48. media queries Conditional CSS for media types & features. Example Types: §  Screen §  Print §  Speech §  TV §  (All) Example Features: §  width (display, device) §  height (display, device) §  resolution §  orientation §  color
  • 49. media queries Example Formats: @media screen and (min-width: 992px) { /* CSS selectors */ } @media print { /* Print selectors */ } @media (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) { /* Retina selectors */ }
  • 50. bootstrap 3 media queries Mobile first uses “min-width” (in most cases) @media (min-width: 768) { ... } @media (min-width: 992) { ... } @media (min-width: 1200px) { ... } Since  we’re  mobile-­‐first,  all  default   styles  are  for  the  smallest  targeted   display.  
  • 51. Container, Row, Column <div class=“container”> <div class=“row”> <div class=“col-[size]-[count]”></div> </div> </div> Enough  slides  already!   Let’s  dig  into  code  examples!  
  • 52. Offsets <div class=“container”> <div class=“row”> <div class=“col-[size]-[count] col-[size]-offset-[count]”> </div> </div> </div> MOAR  code  examples!  
  • 53. utility class example – pulls <div class=“container”> <div class=“row”> <div class=“col-xs-12”> <div class=“pull-left”>Hello</div> <div class=“pull-right”>World</div> </div> </div> </div> MOAR,  MOAR  code  examples!  
  • 54. resets – columns & offsets <div class=“container”> <div class=“row”> <div class=“col-md-6 col-lg-3”></div> <div class=“col-md-6 col-lg-9”></div> </div> </div> Wait  for  it…  
  • 55. resets – columns & offsets <div class=“container”> <div class=“row”> <div class=“col-md-6 col-md-offset-6” “col-lg-3 col-lg-offset-9> </div> </div> </div> Shazam!  More  Code!  
  • 57. responsive workflows §  No more silos or assembly lines. §  Smartly iterate over the production process. §  Avoid premature fidelity. (Agile)  
  • 58. Eek, the traditional workflow! DISCOVER DESIGN DEVELOP (AGILE?) DEPLOY PROJECT & ACCOUNT MGMT. CUSTOMER / STAKEHOLDER APPROVAL APPROVAL APPROVAL APPROVAL APPROVAL Agile  of  Waterfall?  
  • 59. Eek, the traditional workflow! DISCOVER DESIGN DEVELOP (AGILE?) DEPLOY PROJECT & ACCOUNT MGMT. CUSTOMER / STAKEHOLDER APPROVAL APPROVAL APPROVAL APPROVAL APPROVAL IT’S  A   WATERFALL!!  
  • 60. responsive workflows §  Stay iterative, agile. §  This isn’t easy! Risks:   •  Beauocracy   •  Work  InjecFon   •  Groupthink   •  “Oops,  we’re  not  actually  agile.”    
  • 61. responsive workflows §  Stay iterative, agile. §  This isn’t easy! Risks:   •  Beauocracy   •  Work  InjecFon   •  Groupthink   •  “Oops,  we’re  not  actually  agile.”    
  • 62. tools – CSS preprocessors CSS can get big fast! Keep it modular & manageable.
  • 63. tools – automation Bower NPM Yeoman Grunt Gulp
  • 65. responsive caveats §  Sometimes not the easiest sell to a client §  Contrary to the way we typically visualize §  Works better when starting from scratch §  Matching user expectation is trickier! §  Higher cost