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

Intro to Twitter Bootstrap Workshop

Darby Frey
October 19, 2013

Intro to Twitter Bootstrap Workshop

Darby Frey

October 19, 2013
Tweet

More Decks by Darby Frey

Other Decks in Technology

Transcript

  1. @darbyfrey Introduction to Twitter Bootstrap • Created by Mark Otto

    & Jacob Thornton at Twitter • Open sourced in 2011 • The first major styleguide to be open sourced Saturday, October 19, 13
  2. @darbyfrey Introduction to Twitter Bootstrap SMACSS • Opinionated style guide

    • Aims to create a consistent methodology to building with CSS • http://smacss.com Jonathan Snook Saturday, October 19, 13
  3. @darbyfrey Introduction to Twitter Bootstrap INSTALLATION 1. Download and copy

    files into place 2. Compile with 3.Bootstrap CDN 3 Ways to install Bootstrap: <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> <!-- Latest compiled and minified JavaScript --> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> Saturday, October 19, 13
  4. @darbyfrey Introduction to Twitter Bootstrap CSS Grid System Typography Tables

    Forms Buttons Images Helper classes Responsive utilities COMPONENTS Components Icons Dropdowns Button groups Button dropdowns Input groups Navs Navbar Breadcrumbs Pagination Labels Badges Jumbotron Page header Thumbnails Alerts Progress bars Media object List group Panels Wells JAVASCRIPT Javascript Transitions Modal Dropdown Scrollspy Tab Tooltip Popover Alert Button Collapse Saturday, October 19, 13
  5. @darbyfrey Introduction to Twitter Bootstrap EXAMPLES <ul class="nav nav-tabs"> <li

    class="active"><a href="#">Home</a></li> <li><a href="#">Profile</a></li> <li><a href="#">Messages</a></li> </ul> Saturday, October 19, 13
  6. @darbyfrey Introduction to Twitter Bootstrap EXAMPLES <button type="button" class="btn btn-default">Default</button>

    <button type="button" class="btn btn-primary">Primary</button> <button type="button" class="btn btn-success">Success</button> <button type="button" class="btn btn-info">Info</button> <button type="button" class="btn btn-warning">Warning</button> <button type="button" class="btn btn-danger">Danger</button> Saturday, October 19, 13
  7. @darbyfrey Introduction to Twitter Bootstrap GOING FURTHER • Play around

    with other features (there are a bunch we didn’t cover) • Look at the source code, see how it works • Themes (be sure to check the version) Saturday, October 19, 13