meteor - Scss编译错误: no mixin named transition

标签 meteor sass bower mixins

我有一个使用 Bower 组件的 meteor 应用程序。

当我尝试运行应用程序时出现错误:Scss compiler error: no mixin named transition

来自以下行:@include transition(.2s ease-out);

这个问题可能是什么原因造成的?

最佳答案

@include 需要一个 mixin。在这种情况下,它需要一个名为“transition”的 mixin,我认为您正在尝试将“transition”应用为 css 属性。

查看此页面:http://sass-lang.com/guide

关于meteor - Scss编译错误: no mixin named transition,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35482388/

相关文章:

meteor - 比较 Meteor.subscribe() 或 this.subscribe() [Meteor + Blaze]

css - 如何访问 GitHub 图标?

javascript - 如何通过包管理器安装最新稳定版本的 Javascript 包?

bower - 如何使用 Bower 更新脚本?

javascript - 是否有任何标准化的方法来处理 Bower 膨胀?

javascript - Mobx 返回空对象

javascript - meteor 不会更新 mongodb 中的数据

javascript - React/Sass项目中使用变量实现暗模式

css - SASS/SCSS @mixin with @for 在使用参数时不起作用

meteor - 在铁路由器中,如何避免在仅更改一个子集时重新计算整个数据字段