【发布时间】:2019-06-19 07:07:11
【问题描述】:
这是我的 scss 代码:
.banner {
height: 170px;
width: 100%;
background-color: linear-gradient(45deg, red, blue); //not work
// background-color: red; // <-this works
}
不知道为什么,我从MDN上复制了线性渐变的代码,应该没有错..
【问题讨论】:
标签: css sass scss-mixins