Bootstrap has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.
2. Oh hai, Im Otto.
Designer at Twitter since 2010
Love HTML and CSS
Been at it for 10+ years
Find me online:
twitter.com/mdo
github.com/markdotto
Wednesday, September 28, 2011
5. What is it?
Open-source frontend toolkit
HTML, CSS, and now JS
Super small footprint (CSS is ~7kb)
Supported in IE7 and up
Designed as a complete styleguide
Boatload of design patterns
Built on Less CSS
Wednesday, September 28, 2011
6. Bootstrap was created
to solve a real problem.
Our tools didnt look or
behave consistently and
were dif鍖cult to develop.
Wednesday, September 28, 2011
7. What about using those
other feature complete
toolkits out there?
Wednesday, September 28, 2011
8. Turns out many toolkits
are built to provide value
at only the base level:
scaffolding.
Wednesday, September 28, 2011
23. Includes 鍖exible grid system
16 column grid (support up to 24)
Customizable variables via LESS
1
2
3
@gridColumns:
@gridColumnWidth:
@gridGutterWidth:
Wednesday, September 28, 2011
16;
40px;
20px;
25. New javascript plugins
Included plugins...
Modals
Popovers
Alert messages
Dropdown menus
Scrollspy for nav
Tabbed content
Twipsy tooltips
Compatible with jQuery
and Ender
Comes with extensive docs
and examples
Wednesday, September 28, 2011
26. But what's a great
framework without ease
of use in the real world?
Wednesday, September 28, 2011
27. Hotlink like a boss
1
2
<!-- Le styles -->
<link href="http://twitter.github.com/bootstrap/1.3.0/
bootstrap.min.css" rel="stylesheet">
Download and use locally
1
2
<!-- Le styles -->
<link href="css/bootstrap/1.3.0/bootstrap.min.css"
rel="stylesheet">
3
<link href="css/yours/style.css" rel="stylesheet">
Wednesday, September 28, 2011
28. Compile Less in the browser
1
2
<!-- Le styles -->
<link href="path/to/bootstrap.less" rel="stylesheet/less">
<!-- Le javascripts -->
3
<script src=/knitkuldeep/kuldeep-28479749/"path/to/less.js"/></script>
Compile via Node or Terminal
$
$
npm install less
make
$
lessc ./lib/bootstrap.less > bootstrap.css
Wednesday, September 28, 2011
30. On our roadmap
More HTML5 elements
HTML5 forms
Additional table styles
Alternate topbar styles for 鍖xed or
relative display
Media queries
Sidebar nav for 鍖uid layout
Fullscreen layout
Growl style alerts
Rounded buttons
Module components
Additional blockquote styles
Anything else? File an issue on GitHub!
Wednesday, September 28, 2011
Custom skins
Toggle buttons
Fluid grid system
Font-face mixins