我似乎无法找到任何文件的可能性(或者甚至可能)做以下事情。使用SASS的多个嵌套CSS命名空间?
下面是基本的CSS /上海社会科学院命名空间声明:
.example {
border: {
style: dashed;
width: 30px;
color: blue;
}
}
是否有可能也有这种格式,但链top, right, bottom, left
声明?
我怎么会想象这个被写入:
.example {
border: {
top, right, bottom, left: {
style: dashed;
width: 30px;
color: blue;
}
}
}
.example {
border: {
[top, right, bottom, left]: {
style: dashed;
width: 30px;
color: blue;
}
}
}
谢谢,它并没有完全回答我的问题。 –