After installing Sass and Compass, you can use Compass to maintain your application. This recipe describes how to maintain your applications with Compass on the command line.
Install Compass as described in the Installing Compass recipe of Chapter 1, Getting Started with Sass.
Perform the following step to get grips on maintaining your applications with Compass:
Create a new Sass project, as described in the Installing Compass recipe of Chapter 1, Getting Started with Sass, by using the following command in your console:
compass create
Then, create a
sass/application.scss
file that imports thesass/_base.scss
partial file (see step 4 of this recipe). The SCSS code in thesass/application.scss
file should look as follows:@import "base"; @include global-reset; // Eric Meyer's reset 2.0 Global reset rules. @include establish-baseline; // set a default font-size and line-height on your <html> tag. a { @include...