UNPKG

600 BSCSSView Raw
1// Foundation for Sites by ZURB
2// foundation.zurb.com
3// Licensed under MIT Open Source
4
5////
6/// @group grid
7////
8
9/// Set the width of a grid column.
10///
11/// @param {Number|List} $width [$grid-column-count] - Width to make the column. You can pass in any value accepted by the `grid-column()` function, such as `6`, `50%`, or `1 of 2`.
12@mixin grid-column-size(
13 $columns: $grid-column-count
14) {
15 width: grid-column($columns);
16}
17
18/// Shorthand for `grid-column-size()`.
19/// @alias grid-column-size
20@mixin grid-col-size(
21 $columns: $grid-column-count
22) {
23 @include grid-column-size($columns);
24}