CHAPTER 5

image

Introduction to Compass

In the previous chapters, you looked at two famous precompiling languages—Sass and Less—and learned about the various features they provide. Now you will look into a famous CSS framework that is based on Sass, called Compass.

This chapter explores the following aspects of Compass:

  • Installation
  • Understanding config.rb
  • Responsive grids with Sass and Compass
  • Compass and CSS3
  • Image sprites and Compass
  • Compass extensions

Introduction to Compass

Compass, as described on its web site (http://compass-style.org/), is “an open-source CSS authoring framework”.

Compass is a framework built using Sass. Installing Compass in addition ...

Get Beginning CSS Preprocessors: With SASS, Compass.js, and Less.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.