我正在尝试使用柔性盒前缀。当使用指南针-核心箱混合,与
@include display-box;` 或者任何其他的盒子混合物,它给出:
Undefined mixin 'display-box'但是,如果我做了
@include opacity (1);
@include border-radius;没有编译错误。
指南针版本:
compass (1.0.0.alpha.19, 0.12.6)
compass-core (1.0.0.alpha.19)
compass-import-once (1.0.4)我错过了什么?
发布于 2014-07-28 16:31:19
我也是。在查看了compass-1.0.0.alpha.21代码之后,我注意到了行@warn "The compass/css3/box module is DEPRECATED and will be removed in the next release. Please use compass/css3/flexbox instead.";,然后我想知道为什么box模块仍然列在官方文档中。底线: Compass网站上的默认文档资源仅涵盖过时的版本0.12.2,而我们一直在使用最新的(仍未发布的) dev版本1.x。还有另一个文档版本:http://beta.compass-style.org/reference/compass/。(请注意"beta“子域!)
https://stackoverflow.com/questions/24952635
复制相似问题