postcss-grid-unit
A PostCSS plugin to create custom grid units to ease grid enforcement. Inspired by Mark Goodyear's postcss-vertical-rhythm.
Examples
Given options
{
units: [
{unit: 'u', size: 8},
{unit: 'lu', size: 32},
],
}
and input
output will be
Usage
Install:
npm install postcss-grid-unit --save-dev
Then include the plugin:
See [PostCSS] docs for examples for your environment.
Licence
Released under the MIT license.