vendor/leafo/scssphp/tests/inputs/operators.scss

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。



body {
    color: 1 + 2 + 5;
    color: 1 + 2 * 5 + 5;
    height: 10px/10px;
    color: 10px/2 + 1;
    color: (10px/2);
    bottom: (4/2px);
    top: 1em * (1 * 24px - 0) / 16px;
    left: 1 - 2cm;
    top: (2cm/12px);
}

div {
    color: 4 == 3;
    color: hello == hello;

    color: 4 > 3;
    color: 4 < 3;
    color: what > 3;
}


#units {
    test: 1in + 4cm;
    test: 12mm + 1;
    test: 1 + 3em;
    test: 1mm + 1cm;
    test: 1cm + 1mm;
}

#modulo {
    test: 3 % 2;
    test: 4cm % 3;
}

#colors {
    color: red + rgb(1,2,3);
    color: red - rgb(1,2,3);
    color: rgba(1,2,3, 0.5) * rgba(3,4,5, 0.5);
    color: rgba(10,15,20, 0.5) / rgba(2,2,2, 0.5);

    color: rgba(1,2,3, 0.5) * 2;
    color: rgba(1,2,3, 0.5) / 2;
    color: rgba(1,2,3, 0.5) + 2;
    color: rgba(1,2,3, 0.5) - 2;

    color: blue + 34;

    color: #fff == #000;
    color: #fff == #fff;

    color: #fff != #000;
    color: #fff != #fff;
}


#preserve {
    hello: what -going;
后面还有 83 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。