0

我正在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那里的参数。

4

0 回答 0