|
|
1
10
根据中的SCSS参考 http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#division_and_slash 这正是人们所期望的。试着把它放进一个混合器里:
看见 http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixins 更多信息。 编辑: p {
$font-size: 12px;
$line-height: 30px;
font: #{$font-size}/#{$line-height};
}
应编译为 p {
font: 12px/30px;
}
|
|
|
2
1
|
|
|
Jamie · 在CSS链接的文件名中添加Jinja占位符 1 年前 |
|
Mass · 如何在Tailwind CSS v4中创建配置 1 年前 |
|
|
magenta placenta · 将css变量合并为一个变量 1 年前 |
|
ptownbro · 重叠分区标签,同时保持以下所有分区和内容就位 1 年前 |
|
|
john Rizzo · 按钮背景颜色、悬停和活动状态存在问题 1 年前 |