Skip to content
This repository has been archived by the owner. It is now read-only.
DEPRECATED, see https://github.com/cssnano/cssnano | Reduce transform functions with PostCSS.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc Update to ESLint 3 & AVA. Jul 6, 2016
.editorconfig
.gitignore Initial commit. Oct 5, 2015
.travis.yml
CHANGELOG.md Update changelog. Nov 1, 2016
LICENSE-MIT Initial commit. Oct 5, 2015
README.md Initial commit. Oct 5, 2015
package.json chore(package): update ava to version 0.17.0 Nov 24, 2016

README.md

postcss-reduce-transforms Build Status NPM version Dependency Status

Reduce transform functions with PostCSS.

Install

With npm do:

npm install postcss-reduce-transforms --save

Example

This module will reduce transform functions where possible. For more examples, see the tests.

Input

h1 {
    transform: rotate3d(0, 0, 1, 20deg);
}

Output

h1 {
    transform: rotate(20deg);
}

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

You can’t perform that action at this time.