Sass Script
SASS uses a small set of extensions known as SassScript which can be included in the SASS documents to compute variables from property values and uses properties of variables, arithmetic, and other functions. SassScript can also be used with selectors and property names while using mixins (Mixins allows to re-use CSS styles throughout the stylesheet).
The following table lists some of the CSS extensions used in SASS:
CSS Extension | Description |
---|---|
Interactive Shell | It evaluates SassScript expression using command line. |
Variables | It represents the data such as numeric values, characters or memory addresses. |
DataTypes | It declares data type for every data object. |
Operations | It provides operations such as number, color, string, boolean and list operations. |
Parentheses | It is pair of signs which are usually marked off by round brackets ( ) or square brackets [ ]. |
Functions | It supports for the use of functions by providing some keyword arguments. |
Interpolation | It provides SassScript variables and property names using # syntax. |
& in SassScript | It allows nesting of properties into another properties which leads to group of another related code. |
Variable Defaults | It allows nesting of properties into another properties which leads to group of another related code. |