Overview

Sass (Syntactically Awesome Style Sheets) extends CSS with powerful features like variables, nested rules, mixins, and functions. SCSS is the most popular syntax for Sass, using a CSS-compatible syntax with curly braces and semicolons.

Key Features

  • Variables: Store values like colors or font sizes for reuse.
  • Nesting: Write CSS rules that follow the hierarchy of your HTML.
  • Mixins: Create reusable blocks of CSS code.
  • Partials and Import: Organize your CSS into smaller, manageable files.

Workflow

Sass files must be compiled into standard CSS files before they can be used by a web browser.

Related Terms