Winning the Web with Twitter Bootstrap

Who Am I?

I Twitter Bootstrap

Sam Richard

I. Device Based Design

While some may say…

Start with the small screen first, then expand until it looks like shit. TIME FOR A BREAKPOINT!

Stephen Hay

or that…

Designing to fixed screen sizes is in fact never a good idea…there is just too much variation, even amongst ‘popular’ devices.

Stephanie Rieger

Device Based Breakpoints

Bootstrap expertly divides the web into devices based on Totally Not The iPad's Screen Size™:

  • Extra Small Devices: Phones, <768px
  • Small Devices: Tablets, ≥768px
  • Medium Devices: Desktops, ≥992px
  • Large Devices: Desktops, ≥1200px

While a widely held belief is…

Don't penalize users for the device they happen to be browsing with.

Brad Frost

Hide/Show Classes

Bootstrap provides an array of device based hide and show classes:

  • .visible-xs
  • .visible-sm
  • .visible-md
  • .visible-lg
  • .hidden-xs
  • .hidden-sm
  • .hidden-md
  • .hidden-lg
  • .visible-print
  • .hidden-print

Haters Gonna Hate

Who are you going to listen to…

…nearly every line [of Bootstrap] is a joke.

Jacob Thornton (@fat), creator of Bootstrap

Don't listen to them

Bootstrap is pretty. True Story

Scott Kellum

I Twitter Bootstrap

Sam Richard

Thank You

Slides available at

http://snugug.github.io/winning-the-web