Sass: Working with Libraries

By far the most popular Sass based UI framework is Bootstrap. Another one is Foundation.

Sass libraries are more like a collection of mixins, funtcions and classes. The most common is Compass. Then there is Bourbon.

Installing Bourbon

sudo gem install bourbon

Including Bourbon in a Project

just include the bourbon .scss file in the main stylesheet.

@import "bourbon_bourbon.scss";


  • You can use all the new CSS3 features without having to worry about backwards compatibility as Bourbon and Compass take care of adding vendor prefixes.
  • Font families and their fall back families are defined as variables so you don’t have to type your long list.