Files
Nikolay Vitkov 103719879d [deps] Update CSS related deps
Bug: none
Change-Id: I9389834400d90beed8df9f28356720031abe9ef1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6225902
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
2025-02-04 02:17:29 -08:00
..
2022-12-09 12:08:23 +00:00
2025-02-04 02:17:29 -08:00
2022-12-09 12:08:23 +00:00
2025-02-04 02:17:29 -08:00
2022-12-09 12:08:23 +00:00

postcss-reduce-transforms

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.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs