Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将一些 css 文件转换为 Sass。但是,文档对一件事有点不清楚,我可以&像这样使用父参考吗:
&
.css
.class { background:red; } .class.otherclass{ background:green; }
.scss
.class { background:red; &.otherclass{ background:green; } }
是的你可以
这是相关文档。