129
Sass Script
SASS uses small set of extensions known as SassScript which can be included in SASS documents to compute variables from property values and uses properties of variables, arithmetic and other functions. SassScript can be used also with selectors and property names while using mixins (Mixins allows to re-use CSS styles throughout the stylesheet).
A list of some of the CSS extensions used in Sass:
Index | CSS Extension | Description |
---|---|---|
1. | Interactive Shell | It is used to evaluate SassScript expression using command line. |
2. | Variables | It is used to specify the data such as numeric values, characters or memory addresses. |
3. | Datatypes | It is used to declare data type for every data object. |
4. | Operations | It is used to provides operations i.e. number, color, string, Boolean and list operations. |
5. | Parentheses | It is pair of signs which are usually marked off by round brackets ( ) or square brackets []. |
6. | Functions | It is used to support for the use of functions by providing some keyword arguments. |
7. | Interpolation | it is used to provide SassScript variables and property names using #{ } syntax. |
8. | & in SassScript | It allows nesting of properties into another properties which leads to group of another related code. |
9. | Variable Defaults | It is used to facilitate nesting of properties into another properties which leads to group of another related code. |
Next TopicSass Variables