O'Reilly logo

Sass for Web Designers by Dan Cederholm

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

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

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