The grid can also be used without the autogenerated css, but by using your own css and the grid mixins.
article {
@include create-grid();
> section {
@include create-grid-cell();
}
}
.col-{number} {
@include create-cell({fraction});
}
section {
@include cell-order(start);
// or
@include cell-order(end);
// or
@include cell-order({number});
}
section {
@include cell-offset({fraction});
}
article {
@include grid-layout(horizontal);
}
article {
@include grid-layout(vertical);
}
article {
@include grid-align(stretch);
}
article {
@include grid-align(start);
}
article {
@include grid-align(end);
}
article {
@include grid-align(center);
}
article {
@include grid-wrap(nowrap);
}
article {
@include grid-wrap(wrap);
}
article {
@include grid-wrap(reverse);
}
section {
@include cell-align(stretch); // default
// or
@include cell-align(start);
// or
@include cell-align(end);
// or
@include cell-align(center);
}
article {
> section {
@include gutter-collapsed();
}
}
section {
&.is-collapsed {
@include gutter-collapsed();
}
}