我有这个 susy 设置:
$susy: (
columns: 8,
gutters: 1/4,
global-box-sizing: border-box,
);
有时我需要不同的排水沟而不是 1/4。
例如看图片:
和代码:
.wrap {
@include clearfix;
@include container (500px);
.box-1 {
@include span(4 of 8);
}
.box-2 {
@include span(4 of 8 last);
}
.box-3 {
@include span(4 of 8 wide no-gutter);
}
.box-4 {
@include span(4 of 8 last);
}
.box-5 {
@include span(3.95 of 8 wide no-gutter);
}
.box-6 {
@include span(4 of 8 last);
}
}
我试过这个没有成功:
@include span(4 of 8 wide (gutter-override: 2px));
我找到了一种方法来解决它,但如果它是正确的
@include span(3.95 of 8 wide no-gutter);
谢谢