Remove pesky vendor prefixes from your source CSS files. This ensures that your prebuilt CSS is as terse and concise as possible.
Though, please use autoprefixer
as part of your build process to ensure proper browser support.
Installation
npm install --save postcss-remove-prefixes
Usage
var postcss = var removePrefixes = css
Input
Output
Note: It is recommended that you use this plugin with postcss-unprefix
in case you are missing the unprefixed declaration in your source CSS.
CLI
npm i -g postcss-remove-prefixesremove-prefixes -hremove-prefixes mycss.cssremove-prefixes input.css output.css
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).
This package was initially generated with yeoman and the p generator.