Chapter 2Getting Started

In the previous chapter, we talked a lot about what Sass actually is and how it can help us bridge the gap between what CSS can offer and what we actually need in our daily routine as web designers. Now is well past the time to start.

As discussed previously, Sass (mostly) exists as both a Ruby gem (sometimes called Ruby Sass) and a wrapped C/C++ library (also known as LibSass). Additionally, there are a lot of applications for front-end development that take care of everything for you, such as CodeKit or Prepros.

We’ll now see how to set it up in these environments, starting with the Ruby version.

Ruby Sass

The programming language Ruby handles dependencies as gems. A gem is a package that contains program (or script) ...

Get Jump Start 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.