2. Sass Workflow

Now that we know what Sass is, let’s get set up so that we can start using it. Our first task is to install it on your computering device of choice. I mentioned in Chapter 1 that Sass is a program written in Ruby, which translates its native syntax into plain CSS. So, before we start using Sass, we need to install Sass.

Installing Sass on a Mac

If you’re on a Mac (and hooray for you, should you be so lucky), installing Sass couldn’t be simpler. Mac OS X comes preinstalled with Ruby, and Sass is packaged as a Ruby “gem,” which is a clever programmer term for a Ruby application.

Simply fire up Terminal.app (don’t panic!), and at the prompt type the following and hit enter:

$ gem install sass

That wasn’t so bad, right? After you ...

Get Sass for Web Designers 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.