Compass is a library of mixins, functions, and other useful extensions to Sass. Chris Eppstein created Compass and maintains it to this day. Compass is a toolkit that any Sass-master should have handy. Because of its value in Sass development, we’ve devoted a whole chapter to some of its features—but it’s a mere sampling of what Compass has to offer. Check out the Compass website for more.
Make sure RubyGems is up-to-date, then install the Compass gem.
gem update --system gem install compass
Then, compile your style sheets with --compass.
sass --compass myfile.scss myfile.css sass --compass --watch .
Here’s a summary of what we’ll look at in this part.
First, we’ll look at how to set up a Compass project in Task 25, ...