postcss-minify-trbl

Minify top/right/bottom/left values.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
postcss-minify-trbl
1.0.19 years ago9 years agoMinified + gzip package size for postcss-minify-trbl in KB

Readme

Minify top/right/bottom/left values.

Install

With npm do:
npm install postcss-minify-trbl --save

Example

This module will reduce top/right/bottom/left values where possible:

Input

h1 {
    margin: 10px 20px 10px 20px;
}

Output

h1 {
    margin: 10px 20px;
}

Usage

See the PostCSS documentation for examples for your environment.

Contributing

Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

License

MIT © Ben Briggs