Sass functions and mixins to use grid.
npm install @unsass/grid
@use "@unsass/grid/styles";
@use "@unsass/grid" with (
$columns: 10,
$screens: (
"lg": 1024px
)
);
Name | Default | Description |
---|---|---|
$columns |
12 |
Sets numbers of columns. |
$column-gap |
12px |
Sets the column gap. |
$rows |
6 |
Sets numbers of rows. |
$rows-gap |
12px |
Sets the row gap. |
$screens |
() |
Sets breakpoints rules. See here for default tokens. |