我正在Mixin flexbox doesn't have an argument named $version
输入以下代码。我安装了 Compass 1.0.1。
@import "compass/css3/flexbox";
@mixin all-spec-display-flex() {
@include flexbox((display: box, flex-direction: row), $version: 1);
@include flexbox((display: flexbox, flex-direction: row), $version: 2);
@include flexbox((display: box, flex-direction: row));
}
我在 Compass 中打开了 _flexbox.scss 文件,我确实看到了$version
那里的参数。