问题描述
我定义了一个带有 4 个属性的 @mixin,其中两个(font-fam 和 font-size)在我 @include 时被应用,但两个(text-align 和 color)没有被应用。关于为什么会发生这种情况的任何帮助?
这是定义的@mixin:
@mixin important-text {
font-family: vipnagorgialla;
font-size: 6px;
text-align: center;
color: rgb(153,245,4);
}
这里是我称呼它的地方:
footer {
display: flex;
height: 80px;
background-color: $mainColor;
@include important-text();
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)