Overview of Sass operators
Sass provides several types of operators for manipulating different value types:
- Equality:
==and!=check if two values are identical. - Numeric:
+,-,*,/, and%perform standard math. Units are handled according to scientific math rules. - Relational:
<,<=,>, and>=compare two numbers. - Boolean:
and,or, andnot. In Sass, every value is consideredtrueexcept forfalseandnull. - String:
+,-, and/can be used for string concatenation.