include-media — Columns plugin
Get include-media here.
Introduction
This plugin generates classes for a grid system using Harry Roberts' BEMIT naming convention, based on a number of subdivisions specified by the user, and taking into account all the breakpoints defined by include-media.
Example:
;; ; // Dividing the layout in halves and thirds
Generates:
{@@@@@} {@@@@@}
Installation
- Manually: Download this file and import it into your Sass project
- Bower: Run
bower install include-media-columns
Usage examples
To create a grid where four elements in a row are displayed on the large view, two elements on the medium view and just one element on the small view, one can simply define the items as follows:
.col