Professional Documents
Culture Documents
Tutorial
7 Sukwon Oh
soh@cs.toronto.edu
What is Bootstrap?
▶ Bootstrap is the most popular framework for quickly styling your website.
▶ Bootstrap lets us skip writing CSS and focus instead on HTML.
What is Bootstrap?
CSS Components
▶ Grid system ▶ Glyphicons
▶ Typography ▶ Navbar
▶ Forms ▶ Pagination
▶ Buttons ▶ Thumbnails
▶ Responsive utilities ▶ ...
▶ ...
What is Bootstrap?
Using Bootstrap
Using Bootstrap
Mobile Friendly
▶ Example
.Container
▶ Example
margin margin
Grid System
On Desktop:
On Mobile:
Grid System – Column Resets
Fix
Fix
Go to next line
Responsive utilities
Grid System - Offsetting
▶ col-xs-offset-*
▶ col-sm-offset-*
▶ col-md-offset-*
▶ col-lg-offset-*
Example
Grid System – Nested columns
▶ Syntax
▶ Examples
Resizing Glyphicons
▶ Output
Forms
▶ Navigation (nav)
Right aligned
Navigation Bar (.navbar)
and others …
There are still many more to learn!
▶ Go over http://getbootstrap.com/getting-started/#examples
▶ Playground for bootstrap http://www.bootply.com/