【发布时间】:2013-07-09 17:34:33
【问题描述】:
尝试使用 mixin 'user-select' 时出现以下错误。我使用的是 0.12.2 版本,我很确定它支持来自 compass 的 user-select。那么为什么我不能使用这个mixin呢?
错误
Syntax error: Undefined mixin \'user-select\'
包括
// css3
@import "compass/css3";
@import "partials/deposit";
致电
//File: partials/_deposit.scss
@include user-select(none);
那么为什么我不能使用这个 mixin?
【问题讨论】:
-
没有尝试导入完整的
compass/css3,而是尝试@import "compass/css3/user-interface"进行测试? -
我只是在阅读评论之前尝试过。但添加它作为答案,我会接受。
-
你为什么不直接做
@import 'compass';?这样可以省去很多麻烦。 -
不想臃肿穿:|
标签: css sass compass-sass