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, ...

Get Pragmatic Guide to Sass 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.