Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 547 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 547 Bytes

Grid

Item grid.

Install

bower install trendwerk/grid#~0.0.4 --save

Usage

@include grid((
  'item': '.selector',
));

Apply the mixin on the parent element, containing the grid items.

API

@include grid((
  'breakpoints': (
    421px: 2,
    641px: 3,
    981px: 4
  ),
  'item': null,
  'margin': 20px,
));

Breakpoints

Specify breakpoints using a Sass map. Format: minWidth: columnAmount.

Item (required)

The selector of the items in the grid.

Margin

The space between elements.