比较运算符
Sass supports all the usual comparison operators: <
,>
,==
,!=
,<=
,>=
.
例子
(10px == 10) // Returns true
("3" == 3) // Returns false
$padding: 10px;
$padding <= 8px; // Returns false
Sass supports all the usual comparison operators: <
,>
,==
,!=
,<=
,>=
.
(10px == 10) // Returns true
("3" == 3) // Returns false
$padding: 10px;
$padding <= 8px; // Returns false