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

Designing Bootstrap

Mark Otto
October 12, 2012

Designing Bootstrap

Design is how stuff works, and no where is this more important than widely used front-end tools like Bootstrap. Get the skinny on how and why Bootstrap works the way it does straight from the horse's mouth, the designer of Bootstrap.

Mark Otto

October 12, 2012
Tweet

More Decks by Mark Otto

Other Decks in Design

Transcript

  1. B

  2. If I had asked people what they wanted, they would

    have said faster horses. Henry Ford
  3. All code should look like a single person typed it.

    Paraphrasing @necolas, Idiomatic CSS
  4. Base classes Prefix modifiers // Tables .table { ... }

    .table-striped { ... } .table-bordered { ... } .table-condensed { ... } // Forms .form-inline { ... } .form-search { ... } .form-horizontal { ... } // Nav .nav { ... } .nav-tabs { ... } .nav-pills { ... }
  5. // href = target <a href=”#myModal” data-toggle=”modal”> Launch </a> //

    data-target = target <a data-target=”.fat” data-toggle=”modal”> Launch </a>