O'Reilly logo

Pragmatic Guide to Sass by Michael Lintorn Catlin, Hampton Catlin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1Installing Sass

So before you can explore the simplicity (and beauty) of Sass, you’ll need to set a few things up. It’s useful to have a folder where you keep all your Sass files for a project. Creating a Sass file couldn’t be easier: just use the extension scss—or sass for an Original Sass file.

The only tool you need is a text editor. Every OS comes with something, but of course that’s not always the best something. Generally, just use whatever you usually use to write CSS. We recommend some text editors with each set of installation instructions.

In order to install and run Sass, you need to have Ruby installed on your system. We’ll go through how to do this in the three major OS categories. If you’re not comfortable with the command line, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required