在uni.scss中定义
%flex-ccc{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
如果在style标签里用是可以的
在其它页面的单scss 中使用 这个flex-ccc样式可以吗
在uni.scss中定义
%flex-ccc{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
如果在style标签里用是可以的
在其它页面的单scss 中使用 这个flex-ccc样式可以吗
2 个回复
z***@foxmail.com (作者)
难到只能定义$color: red; 这种?
z***@foxmail.com (作者)
uni.css
$text-color-999: #999;
$text-color-666: #666;
page.scss
@import url("./index.scss");
index.scss
.name {color: $text-color-999; }
编译报错
unexpected