【发布时间】:2014-08-26 16:02:39
【问题描述】:
我正在使用 Foundation 的 scss 版本并使用 Grunt 编译所有内容。我在编译时遇到错误,但似乎一切正常?
例如:
@include clearfix(); 抛出一个错误说 Undefined mixin 'clearfix'. 但我得到了想要的结果。
@extend .show-for-small; 抛出一个错误说
(Line 4: ".loan-calculator .loan-calc-small" failed to @extend ".show-for-small".
The selector ".show-for-small" was not found.
Use "@extend .show-for-small !optional" if the extend should be able to fail.) 但我又得到了想要的结果。
好像错误是错误的。
我做错了什么?
【问题讨论】:
-
这是否刚刚开始在现有项目中发生?还是它一直这样做?
标签: sass zurb-foundation