postcss-minify-gradients
Minify gradient parameters with PostCSS.
Install
With npm do:
Example
Where possible, this module will minify gradient parameters. It can convert linear gradient directional syntax to angles, remove the unnecessary 0%
and 100%
start and end values, and minimise color stops that use the same length values (the browser will adjust the value automatically).
Input
Output
Usage
See the PostCSS documentation for examples for your environment.
Contributors
See CONTRIBUTORS.md.
License
MIT © Ben Briggs
Last updated