clamped-factorA numeric string above 1 on a key whose CSS function stops at 1.
csszyx check lists it.A name in angle brackets is a value the message fills in.
[csszyx] clamped-factor: `<key>: '<value>'` is the CSS value <value>, which the browser clamps to 1, the same as `'1'`.
help: for <value>%, write the number `<key>: <value>`; for a fraction of 1, write a string below 1 such as `'0.5'`.
docs: https://csszyx.com/e/clamped-factor
Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'clamped-factor': 'warn' }.
The level sets how the build and csszyx check report it. It does not change a console line, and it does not stop a thrown error.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
key | string | |
value | string |