【发布时间】:2014-09-23 14:04:47
【问题描述】:
当参数中包含 no-gutters 时,无法弄清楚为什么我的列不是 50%?
SCSS:
$susy: (
global-box-sizing: border-box,
gutters: 1/4,
gutter-position: before
);
.columns {
@include clearfix;
}
.column {
.twoColumns & {
@include span (1 of 2 no-gutters);
}
}
CSS:
.columns:after {
content: "";
display: table;
clear: both;
}
.twoColumns .column {
width: 44.44444%;
float: left;
}
【问题讨论】:
标签: css sass css-float compass-sass susy-compass