Design for Developers
BootstrapDesign for Developers
View Slide
vansteeBig Nerd Ranch!
An improved,default style foryour webapps
•Framework•Getting Started•Protips
mdoMark Otto!fat!Jacob Thornton
Developed as aframework toencourageconsistency
A way todocument andshare commondesign patterns
JavaScriptFonts iconsHTML examplesCSS
Browser Support
BrandLinkDropdown ActionAnother action
ResponsiveMobile First
•Icons•CSS helpers•JavaScript plugins•Community projects
BootstrapRails&
Use compiled CSSUse LESS with theasset pipelineor
Asset PipelineLESS CSS Minified
Gems
•Rewritten using SASS•Rails Engine•Not yet on Bootstrap 3bootstrap-sasshttps://github.com/thomas-mcdonald/bootstrap-sass/pull/329
GEMFILEgem 'sass-rails', '~> 3.2'gem 'bootstrap-sass', '~> 2.3.2.1'APPLICATION.CSS@import "bootstrap";APPLICATION.JS//= require bootstrap
•Should “just work”•Don’t use therubyracer•Docs are greatHerokuhttps://devcenter.heroku.com/articles/rails-asset-pipeline
•Also using SASS•Bootstrap 3•Haven’t used this yetanjlab-bootstrap-rails
Read the docsand play withthe examples
•Find variables in the docs•Override before importing•3rd party themesCustomization
APPLICATION.CSS$blue: #5b9cbc$linkColor: $blue$headingsFontFamily:'Helvetica Neue', Helvetica,Arial, sans-serif@import "bootstrap";
Checkout theBootstrap Expofor inspirationexpo.getbootstrap.com
Alternatives•Foundation•Skeleton•Gumby
twbs/bootstrapgetbootstrap.com