1.0.0 • Published 8 years ago

postcss-longhand v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

postcss-longhand Build Status

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.