Black Lives Matter

Sass stands with the protesters against police violence. We encourage our users to get in the streets and join them if you can.

Sass

  • Install
  • Learn Sass
  • Blog
  • Documentation
  • Get Involved

Contents

  • Syntax
    • Overview
    • Parsing a Stylesheet
    • Structure of a Stylesheet
    • Comments
    • Special Functions
  • Style Rules
    • Overview
    • Property Declarations
    • Parent Selector
    • Placeholder Selectors
  • Variables
  • Interpolation
  • At-Rules
    • Overview
    • @use
    • @forward
    • @import
    • @mixin and @include
    • @function
    • @extend
    • @error
    • @warn
    • @debug
    • @at-root
    • Flow Control
      • Overview
      • @if and @else
      • @each
      • @for
      • @while
    • From CSS
  • Values
    • Overview
    • Numbers
    • Strings
    • Colors
    • Lists
    • Maps
    • true and false
    • null
    • Calculations
    • Functions
  • Operators
    • Overview
    • Equality
    • Relational
    • Numeric
    • String
    • Boolean
  • Built-In Modules
    • Overview
    • sass:color
    • sass:list
    • sass:map
    • sass:math
    • sass:meta
    • sass:selector
    • sass:string
  • Breaking Changes
    • Overview
    • Strict Unary Operators
    • Random With Units
    • Invalid Combinators
    • Media Queries Level 4
    • / as Division
    • Function Units
    • -moz-document
    • Extending Compound Selectors
    • CSS Variable Syntax
  • Command Line
    • Overview
    • Dart Sass
    • Ruby Sass
    • Migrator
  • JavaScript API
  • sass
  • types

Namespace types

The namespace for value types used in the legacy function API.

deprecated

This only works with the legacy render and renderSync APIs. Use Value with compile, compileString, compileAsync, and compileStringAsync instead.

Index

Classes

  • Boolean
  • Color
  • Error
  • List
  • Map
  • Null
  • Number
  • String
  • Exports
  • Logger
  • types
  • Boolean
  • Color
  • Error
  • List
  • Map
  • Null
  • Number
  • String
  • Current Releases:
  • Dart Sass 1.58.0
  • LibSass 3.6.5
  • Ruby Sass ⚰
  • Implementation Guide

Sass © 2006–2023 the Sass team, and numerous contributors. It is available for use and modification under the MIT License.

  • Sass on GitHub
  • Website Source Code
  • Style Guide
  • Community Guidelines
Follow @SassCSS Powered by MacStadium