我在下面写这个mixin:
=font-placeholder($location, $name, $fallback: '', $fallback-style: '')
%#{$location}-font
font-family: "#{$name}", "#{$fallback}", $fallback-style
+font-placeholder($location: body, $name: FontName)
而不是输出这个:
%body-font {
font-family: "FontName", "", "";
我希望它输出这个:
%body-font {
font-family: "FontName";
有什么帮助吗?