Twitter Bootstrap 101
Twitter Bootstrap 101
Twitter Bootstrap
Kathy E. Gill
@kegill
Introductions
Who are we?
What do you do?
What do you want to do?
What tools or areas of web design
interest you most?
About the class ….
Design
What is it?
Concepts
Responsive Design
Frameworks
Open Source
Design is a process for
developing solutions
that effectively
integrate task, context
of use, and “user.”
State of Today’s Web
Source: http://bradfrostweb.com/
51% of US mobile
phones are
smartphones
Source: http
://www.comscore.com/Insights/Press_Releases/2013/4/comScore_Reports_February_2013_U.S._Smartphone_
Subscriber_Market_Share
“Anyone who slaps a ‘This page is best
viewed with browser X’ label on a web
page appears to be yearning for the bad
old days, before the web, when you had
very little chance of reading a document
written on another computer, another
word processor, or another network.”
Tim Berners-Lee in Technology Review, July 1996
What is Responsive
Web Design?
http://www.alistapart.com/articles/responsive-web-design/
http://www.abookapart.com/products/responsive-web-design
Elements of RWD
• Fluid Grid
• Resizable Images
• Media Queries
Grids
Grids /
Example based on Foundation Zurb Framework (http://foundation.zurb.com). A 12 column grid system
How do grid systems work?
Resizable Images
img {
max-width: 100%;height: auto;}
Media Queries
• A CSS3 module that renders web
pages based on conditions such as
screen resolution
• Drafted in 2001 by the W3C
• Became a recommended standard in
June 2012
Source: Wikipedia.org
Common Breakpoints
Label Layout Width
Analytics No linking
Sharing/Linking SEO
SEO Development
Development Design
Maintenance
Source: http://www.seomoz.org/
Frameworks
Project requirements determine the framework
Fluid Grid System
Responsiveness a plus
Offer more than just a grid (pre-defined styles for
typography, tables, buttons, navigation, forms elements,
etc.)
Frameworks
Great documentation
Maintained regularly by the community or creator
Open Source (free)
What
http://twitter.github.com/bootstrap/
Twitter Bootstrap
A freely available design framework for
websites and web applications
Based upon HTML5, CSS and JavaScript
Supports all major browsers (even IE7!)
Released on GitHub in August 2011
Created By
Why
Reason #1: Rich Features
Why
Reason #2: Popularity
Why
Reason #3: Browser Support
Progress bar:
Why
Reason #7: Javascript/jQuery
Why
Reason #8: Customization
Why
Reason #9: Live Mock-Ups
How
1. Download Bootstrap and inline text editor
2. Install text editor
3. Extract the bootstrap files in to your
project folder
4. Download example html file and save it
as index.html in the project folder
Do websites need to
look exactly the same
in every browser?
http://dowebsitesneedtolookexactlythesameineverybrowser.com/
Resources
http://bootswatch.com/
Thanks!
Kathy E Gill
@kegill
Slideshare.net/kegill
Creative Commons License / share-and-share alike /
attribution / non-commercial