Scss compiler error: no mixin named transition

不打扰是莪最后的温柔 提交于 2019-12-20 04:08:05

问题


I have a meteor app which uses bower components.

When I try to run the app I got an error: Scss compiler error: no mixin named transition

which comes from the line of: @include transition(.2s ease-out);

What could be cause of this problem?


回答1:


@include expects a mixin. In this case it is expecting a mixin named 'transition' and I think you are trying to apply 'transition' as a css property.

Check this page out: http://sass-lang.com/guide



来源:https://stackoverflow.com/questions/35482388/scss-compiler-error-no-mixin-named-transition

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!