Closed trusktr closed 5 years ago
CSS scale accepts either one arg or two args, but the current one here doesn't work with one arg. See MDN syntax.
If we do scale(2) it outputs "scale(2,)" with the extra comma, which trips the CSS engine.
scale(2)
"scale(2,)"
I made a PR: https://github.com/cssinjs/css-functions/pull/17
Merged. Thanks 👍
CSS scale accepts either one arg or two args, but the current one here doesn't work with one arg. See MDN syntax.
If we do
scale(2)
it outputs"scale(2,)"
with the extra comma, which trips the CSS engine.