Variables: $ The most straightforward way to use SassScript is to use variables. Variables begin with dollar signs, and are set
Interactive Shell You can easily experiment with SassScript using the interactive shell. To launch the shell run the sass command-line with
& in SassScript Just like when it’s used in selectors, & in SassScript refers to the current parent selector
Data Types SassScript supports seven main data types: numbers (e.g. 1.2, 13,
Operations All types support equality operations (== and !=). In addition, each type has its own operations that it
Parentheses Parentheses can be used to affect the order of operations: p
Variable Defaults: !default You can assign to variables if they aren’t already assigned by adding the !default flag
Functions SassScript defines some useful functions that are called using the normal CSS function syntax:
Interpolation: #{} You can also use SassScript variables in selectors and property names using #{} interpolation