PostCSS plugin for size shortcut
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Update dependencies Sep 7, 2018
.gitignore
.npmignore
.travis.yml Update Travis CI config Sep 7, 2018
CHANGELOG.md
LICENSE Init project Feb 5, 2015
README.md Use SVG logo Jan 21, 2016
index.js
index.test.js Update dependencies Sep 7, 2018
package.json
yarn.lock

README.md

PostCSS Size Build Status

PostCSS plugin for size shortcut to set width and height properties.

.two {
    size: 20px 10px;
}
.one {
    size: 10px;
}
.two {
    width: 20px;
    height: 10px;
}
.one {
    width: 10px;
    height: 10px;
}

Usage

postcss([ require('postcss-size') ])

See PostCSS docs for examples for your environment.