A sass mixin library for creating simple grids using flexbox
npm install --save flexgriddle
This library consists of two mixins which enable you to make a simple grid using flexbox
.
.gallery {
@include flexgrid-container();
}
Argument:
- $gutter Optional. Size of the gutter.
.gallery__item {
@include flexgrid-item(5);
}
Arguments:
- $number-of-items. The number of items that one row will contain.
- $gutter Optional. Size of the gutter. Should be the same as its container gutter size.
MIT