lepu-test-platform-web/node_modules/postcss-reduce-initial
zhangbo db3ebd0df0 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
..
data 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
dist 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
node_modules 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
CHANGELOG.md 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
LICENSE-MIT 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
README.md 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
package.json 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00

README.md

postcss-reduce-initial Build Status NPM version Dependency Status

Reduce initial definitions to the actual initial value, where possible.

Install

With npm do:

npm install postcss-reduce-initial --save

Example

This module will replace the initial CSS keyword with the actual value, when this value is smaller than the initial definition itself. For example, the initial value for the min-width property is 0; therefore, these two definitions are equivalent;

Input

h1 {
    min-width: initial;
}

Output

h1 {
    min-width: 0;
}

See the data for more conversions. This data is courtesy of Mozilla.

Usage

See the PostCSS documentation for examples for your environment.

Contributors

Thanks goes to these wonderful people (emoji key):


Ben Briggs

💻 📖 👀 ⚠️

Chris Walker

🐛 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

Template:CSSData by Mozilla Contributors is licensed under CC-BY-SA 2.5.

MIT © Ben Briggs