Sass - Operations


Advertisements

SASS provides some of the operations such as number operations, color operations, string operations, Boolean operations and list operations. We will discuss these operations one by one as described below.

S. No. Operation & Description
1 Number Operations

It allows mathematical operations such as addition, subtraction, multiplication and division

2 Color Operations

It allows using color components along with the arithmetic operations.

3 String Operations

It uses + operation to concatenate strings.

4 Boolean Operations

You can perform Boolean operations on SASS script by using and, or and not operators.

5

List Operations

Lists represent series of values, which are separated using commas or space. For information about lists, see the lists section under data types section.

sass_script.htm
Advertisements