Part 3
Compass

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.[8]

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset