vendor/leafo/scssphp/tests/inputs/extends.scss
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
error, other {
border: 1px #f00;
background-color: #fdd;
}
pre, span {
seriousError {
@extend error;
font-size: 20px;
}
}
hello {
@extend other;
color: green;
div {
margin: 10px;
}
}
.cool {
color: red;
}
.blue {
color: purple;
}
.me {
@extend .cool, .blue;
}
.hoverlink { @extend a:hover }
a:hover { text-decoration: underline }
// partial matching and selector merging:
div.hello.world.hmm {
color: blue;
}
pre, code {
.okay.span {
@extend .hello;
}
}
// multiple matches per selector
.xxxxx .xxxxx .xxxxx {
color: green;
}
code {
@extend .xxxxx;
color: red;
}
后面还有 124 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
