Reduce transform functions with PostCSS.
With npm do:
npm install postcss-reduce-transforms --save
This module will reduce transform functions where possible. For more examples, see the tests.
h1 {
transform: rotate3d(0, 0, 1, 20deg);
}
h1 {
transform: rotate(20deg);
}
See the PostCSS documentation for examples for your environment.
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Ben Briggs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.