O'Reilly logo

Sass and Compass Designer's Cookbook by Bass Jobsen

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

Chapter 1. Getting Started with Sass

In this chapter, you will learn how to do the following:

  • Installing Sass for command line usage
  • Installing Compass
  • Using Sass on the command line
  • Using the Sass interactive mode and SassScript
  • Using the sass-gulp plugin with Gulp
  • Using Sass in the browsers
  • Writing Sass or SCSS
  • Choosing your output style
  • Working with partials
  • Writing your code in a text editor

Introduction

This chapter guides you through the installation of Sass and explains the different ways you can compile your Sass code into static CSS. You will not only learn how to use Sass using the command line interface (CLI), but you will also be introduced to LibSass. LibSass is a C/C++ port of the Sass engine.

Based on LibSass, sass.js is a pure JavaScript implementation ...

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