postcss-longhand
v1.0.0
Published
PostCSS plugin for longhand CSS notations.
Downloads
2
Maintainers
Readme
postcss-longhand
css-longhand plugin for postCSS
.classname {
margin: 0;
}
to
.classname {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
Works for all the properties that css-longhand supports.
Install
npm i --save-dev postcss-longhand
Usage
postcss([ require('postcss-longhand') ])
See PostCSS docs for examples for your environment.