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.
为了方便起见,我希望能够@include用简写形式包装 SASS。@i
@include
@i
这可能吗?这样做的最佳方法是什么?
#foo { @include rounded(3px); }
变成:
#foo { @i rounded(3px); }
提前致谢。
使用 Sass 语法,您可以使用+:
+
#foo +rounded(3px)