-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Ryan Domingue edited this page Sep 4, 2018
·
10 revisions
npm install postcss-tidy-columns
Pass grid settings in JavaScript via the plugin options.
const tidyColumns = require('postcss-tidy-columns');
plugins: [
tidyColumns({
columns: 12,
siteMax: '90rem',
gap: '1.25rem',
edge: '1.5rem',
}),
],
Or pass settings in your CSS/Sass file (colons are optional)
@tidy columns 12,
@tidy siteMax 90rem,
@tidy gap 1.25rem,
@tidy edge 1.5rem,