Introducing Twitter Bootstrap

  • 1,286 views
Uploaded on

Twitter Bootstrap is one of the most popular responsive design frameworks in use today. What makes it so special? Learn what Bootstrap is, how to configure it to get started, discover the grid system, …

Twitter Bootstrap is one of the most popular responsive design frameworks in use today. What makes it so special? Learn what Bootstrap is, how to configure it to get started, discover the grid system, get an overview of styling and LESS configurations, learn about navigation options and Javascript plugins, and much more.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,286
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
63
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1.   Jen Kramer • Ultimate Developer’s Conference • November 21, 2013
  • 2. Photo back story www.jenkramer.org • jen@jenkramer.org
  • 3.  Build a separate mobile- compatible website or mobile app (or both)  Responsive Design  A comparison of methods for building mobileoptimized websites www.jenkramer.org • jen@jenkramer.org
  • 4.  Defined by three characteristics o Flexible grid-based layout o Images that resize o Media queries (CSS3)  www.alistapart.com/articles/responsive-web-design/ www.jenkramer.org • jen@jenkramer.org
  • 5.  Images should change size, based on screen resolution o Load a big image and let it scale (not good) o Server-side (good) o Client-side: Load several images and display the one right for this resolution (not good) o Client-side: let JavaScript decide (better)
  • 6.  Browser reports screen resolution  Based on current width, serve a stylesheet with layout for that width  No JavaScript involved
  • 7.  Twitter Bootstrap is a responsive design framework for building web sites and web applications.  It is the most popular project in GitHub and is used by NASA and MSNBC among others. wikipedia.org/wiki/Twitter_Bootstrap www.jenkramer.org • jen@jenkramer.org
  • 8.  A fully functional grid system with 4 different sizes.  Base CSS includes standardized styling for forms, buttons, images, headings, navigation systems, etc.  CSS customization through LESS CSS  jQuery-driven components include dropdown menus, tooltips, popovers, alerts, image carousel, accordion panels, etc.  Optional icon font for incorporating vector images, distributed with Bootstrap, 180 icons  Distributed under Apache 2, copyright 2013 Twitter (moving to MIT) www.jenkramer.org • jen@jenkramer.org
  • 9. getbootstrap.com foundation.zurb.com 15 More Responsive CSS Frameworks Worth Considering www.jenkramer.org • jen@jenkramer.org
  • 10.  Joomla (open source CMS) integrated Bootstrap into version 3.  Bootstrap unofficial showcase  Love Bootstrap  Bootstrap Expo  A few big names: o State of Kentucky o code.NASA (with WordPress) o Michael’s craft store o Fender guitars o StumbleUpon o Salvation Army (Midwest) o Medicare.gov o Disqus o Delicious www.jenkramer.org • jen@jenkramer.org
  • 11.  Started by Mark Otto and Jacob Thornton, while working at Twitter, as internal tool  Released Bootstrap in 2011  Otto & Thornton left Twitter in 2012  Otto is now in charge of the open source project and is adding core team members.
  • 12. • • • • bootstrap.css bootstrap.min.css bootstrap-theme.css bootstrap-theme.min.css • • • • glyphicons-halflings-regular.eot glyphicons-halflings-regular.svg glyphicons-halflings-regular.ttf glyphicons-halflings-regular.woff • • • bootstrap.js bootstrap.min.js Download/link to jquery
  • 13. Latest versions of: Chrome (Mac, Windows, iOS, and Android) Safari (Mac and iOS only, as Windows has more or less been discontinued) Firefox (Mac, Windows) Opera (Mac, Windows) IE 9 and 10. IE 8 supported with respond.js
  • 14.  Some effort put into accessibility improvements  Includes the Aria codes, screen reader only styles  Joomla has pushed for accessibility since Bootstrap is incorporated in the version 3 CMS
  • 15.  4 grid system: o Extra small always stays horizontal o Small, medium, large grids stack after breakpoint
  • 16.  LESS CSS  Not much LESS documentation on Bootstrap site  Less of an expectation that you will work with LESS
  • 17.  You want to build a responsive front-end quickly.  You need lots of styling out of the box.  You love LESS CSS.  You love open source.  You hate semicolons in your JavaScript. www.jenkramer.org • jen@jenkramer.org
  • 18. Jen Kramer Waltham, MA Phone: 802-257-2657 jen@jenkramer.org www.jenkramer.org Slides available at www.slideshare.net/jen4web lynda.com 7 day free pass: www.lynda.com/freepass/jkramer Twitter: @jen4web Facebook: facebook.com/webdesignjen www.jenkramer.org • jen@jenkramer.org