vendor/leafo/scssphp/tests/inputs/interpolation.scss
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
div {
color: red#{white} blue;
color: red #{white} blue;
color: red #{white}blue;
color: red#{white}blue;
color: #{umm}#{yeah}#{what};
color: #{stacked};
font-size: 10px/#{something};
font-size: 10px / #{something};
test: "what#{"world"}wrong";
test: "what#{'world'}wrong";
test: "what#{world}wrong";
test: "what"#{world}"wrong";
hi: "what is #{4 + 12} end"
}
// interpolation in selectors
pre {
$var: cool;
#{var} {
color: red;
}
#{var} dad {
color: red;
}
bed#{var}dad {
color: red;
}
}
cool {
@for $x from 1 through 5 {
.thing-#{$x} {
color: red;
}
}
}
a#{b}c#{d}e {
color: red;
}
##{hello}, .#{world}{
color: red;
}
#abc#{hello}yeah, .cool#{world}yes{
color: red;
}
$scope: 2;
后面还有 26 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
