【发布时间】:2021-11-24 22:35:48
【问题描述】:
我有一个 SCSS 文件,我想@include transition(all, 0.5s); 但是 scss 给了
错误信息:
Scss compiler Error: no mixin named transition
这是我的SCSS:
a {
float: left;
line-height: 70px;
text-decoration: none;
color: white;
@include transition(all, 0.3s);
&:hover {
background-color: #444;
@include transition(all, .5s);
}
}
【问题讨论】:
标签: css sass scss-mixins