Files
Jack Franklin a5fd0a412d Add cssnano
The CSS minifier we currently use (clean-css) is not maintained and
lacks support for new CSS features. CSSNano is a replacement that
supports features we need (primarily container queries).

This CL only adds the relevant dependencies, and does not use it. I will
do that (and remove clean-css) in a follow-up.

Bug: 1399763
Change-Id: I899ecc4482164404dd5ac2fd13f92fb797978e29
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4092305
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
2022-12-09 12:08:23 +00:00
..
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00
2022-12-09 12:08:23 +00:00

postcss-normalize-timing-functions

Normalize timing functions with PostCSS.

Install

With npm do:

npm install postcss-normalize-timing-functions --save

Example

Input

div {
    animate: fade 3s cubic-bezier(0.42, 0, 1, 1)
}

Output

div {
    animate: fade 3s ease-in
}

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs