Skip to content

trendwerk/grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.