Flexgriddle
A sass mixin library for creating simple grids using flexbox
Install
npm install --save flexgriddle
Usage
This library consists of two mixins which enable you to make a simple grid using flexbox
.
Specify the grid container
.gallery
Argument:
- $gutter Optional. Size of the gutter.
Specify the grid items
.gallery__item
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.
License
MIT