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

Bootstrap 2

Mark Otto
February 01, 2012

Bootstrap 2

Presented by @fat and @mdo at Twitter's January 31st Open Source Summit.

Topics included a brief history lesson on Bootstrap, what's new on the HTML and CSS front (@mdo), what's new in the Javascript (@fat), the new Customize page, and how awesome the Bootstrap community has been.

Mark Otto

February 01, 2012
Tweet

More Decks by Mark Otto

Other Decks in Programming

Transcript

  1. Boot·strap |ˈboōtˌstrap| noun 1. simple and flexible HTML, CSS, and

    Javascript for popular user interface components and interactions.
  2. // Small devices @media (max-width: 480px) { ... } //

    Tablets (Portrait) @media (max-width: 768px) { ... } // Tablets (Landscape) @media (min-width: 768px) and (max-width: 980px) { ... } // Desktop small & tablets @media (max-width: 980px) { ... } // Desktop large @media (max-width: 1200px) { ... }
  3. // Tables .table { ... } .table-striped { ... }

    .table-bordered { ... } .table-condensed { ... } // Forms .form-inline { ... } .form-search { ... } .form-horizontal { ... } // Nav .nav { ... } .nav-tabs { ... } .nav-pills { ... }
  4. Scaffolding Fluid grid system Inline and search forms Base CSS

    Improved buttons support Icons, by Glyphicons Components Button groups and toolbars Dropdown buttons Dropdowns in pills Stacked tabs and pills Overhauled thumbnails New alert styles Progress bars
  5. // href = target <a href=”#myModal” data-toggle=”modal”> Launch </a> //

    data-target = target <a data-target=”.fat” data-toggle=”modal”> Launch </a>
  6. // Turn off all data-api $(‘body’).off(‘.data-api’) // Turn off alert

    data-api $(‘body’).off(‘.alert.data-api’)