|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
803 bytes
|
| Line | |
|---|
| 1 | # [postcss][postcss]-reduce-transforms
|
|---|
| 2 |
|
|---|
| 3 | > Reduce transform functions with PostCSS.
|
|---|
| 4 |
|
|---|
| 5 | ## Install
|
|---|
| 6 |
|
|---|
| 7 | With [npm](https://npmjs.org/package/postcss-reduce-transforms) do:
|
|---|
| 8 |
|
|---|
| 9 | ```
|
|---|
| 10 | npm install postcss-reduce-transforms --save
|
|---|
| 11 | ```
|
|---|
| 12 |
|
|---|
| 13 | ## Example
|
|---|
| 14 |
|
|---|
| 15 | This module will reduce transform functions where possible. For more examples,
|
|---|
| 16 | see the [tests](src/__tests__/index.js).
|
|---|
| 17 |
|
|---|
| 18 | ### Input
|
|---|
| 19 |
|
|---|
| 20 | ```css
|
|---|
| 21 | h1 {
|
|---|
| 22 | transform: rotate3d(0, 0, 1, 20deg);
|
|---|
| 23 | }
|
|---|
| 24 | ```
|
|---|
| 25 |
|
|---|
| 26 | ### Output
|
|---|
| 27 |
|
|---|
| 28 | ```css
|
|---|
| 29 | h1 {
|
|---|
| 30 | transform: rotate(20deg);
|
|---|
| 31 | }
|
|---|
| 32 | ```
|
|---|
| 33 |
|
|---|
| 34 | ## Usage
|
|---|
| 35 |
|
|---|
| 36 | See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
|
|---|
| 37 | examples for your environment.
|
|---|
| 38 |
|
|---|
| 39 | ## Contributors
|
|---|
| 40 |
|
|---|
| 41 | See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
|
|---|
| 42 |
|
|---|
| 43 | ## License
|
|---|
| 44 |
|
|---|
| 45 | MIT © [Ben Briggs](http://beneb.info)
|
|---|
| 46 |
|
|---|
| 47 | [postcss]: https://github.com/postcss/postcss
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.