---
title: "Sass: the CSS preprocessor that changed styling"
description: "Sass (2006) by Hampton Catlin and Natalie Weizenbaum: variables, nesting, mixins, partials, functions. First and most widely used CSS preprocessor, later SCSS syntax and Dart Sass. Foundation of modern styling."
url: "https://www.noze.it/en/insights/sass-scss/"
lang: "en"
alternate: "https://www.noze.it/insights/sass-scss/"
published: "2007-10-15"
author: "noze S.r.l."
keywords: "Open Source, Web, Sass, SCSS, CSS, Hampton Catlin, Preprocessor, Frontend"
---

# Sass: the CSS preprocessor that changed styling

Sass (2006) by Hampton Catlin and Natalie Weizenbaum: variables, nesting, mixins, partials, functions. First and most widely used CSS preprocessor, later SCSS syntax and Dart Sass. Foundation of modern styling.

15 October 2007

## The limit of raw CSS

In the mid-2000s **CSS** lacks basic features: no variables, no functions, no modules, no reuse. Large stylesheets become repetitive (colours replicated everywhere, calculations by hand). The community seeks preprocessing tools.

## Sass is born

**Sass** (_Syntactically Awesome Style Sheets_) is created by **Hampton Catlin** in **2006** and developed primarily by **Natalie Weizenbaum** from 2008 onward. Initially part of the **Haml** framework (HTML templates for Rails). **MIT** licence.

The original syntax is indented, Python-like:

```
$primary: #3B79B0

.card
  background: $primary
  &:hover
    background: darken($primary, 10%)
```

## Main features

- **Variables** — `$primary: #3B79B0`
- **Nesting** — rules nested like HTML
- **Partials** — `_buttons.scss` importable with `@import`
- **Mixins** — reusable blocks with parameters `@mixin`, `@include`
- **Functions** — `@function` logic, mathematical operators
- **Color functions** — `darken()`, `lighten()`, `mix()`, `rgba()`
- **Loops and conditionals** — `@each`, `@for`, `@if`
- **Placeholders** — `%class-name` with `@extend`

## Early ecosystem

The implementation is **Ruby Sass** (gem installable via `gem install haml`). The **Haml** framework (template engine) includes Sass as a component, but Sass is already distributable as an independent tool.

## In the Italian context

In the most up-to-date Italian frontend teams, Sass is starting to appear in Rails projects and some custom WordPress builds. Mass adoption will depend on Sass’s ability to decouple from Haml and to offer a syntax closer to CSS.

Update — 2024

In **2010** (Sass 3.0, “Classy Cassidy”) **SCSS** (_Sassy CSS_) arrives with a **CSS-compatible** syntax: every valid CSS is also valid SCSS. Adoption explodes. Competitors emerge: **Less** (2009, JS), **Stylus** (2010), **PostCSS** (2013, not a preprocessor but a modular transformer). On the implementation side: **Ruby Sass** is deprecated in March 2019; **LibSass** (C/C++ port) reaches end-of-life in 2020; **Dart Sass** becomes the reference standard from 2020 and introduces the **module system** with `@use` and `@forward` superseding `@import`. Ecosystem: **Compass** (2009) dominates as a framework, then deprecated; SCSS ships by default in **Rails**, **Vite**, **Next.js** and in **Bootstrap 4+**. From 2012-2013 every Italian agency and frontend team adopts it as standard.

---

_References: Sass (2006). Hampton Catlin, Natalie Weizenbaum. MIT licence. Haml and Ruby Sass as first distribution._
