You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the spec, it's not clear whether calc() function can be used for animation duration or not. At the moment, I see Chrome supporting it but firefox doesn't.
The calc() expression represents the result of the mathematical calculation it contains, using standard operator precedence rules. It can be used wherever <length>, <frequency>, <angle>, <time>, <percentage>, <number>, or <integer> values are allowed.
https://drafts.csswg.org/css-animations/#animation-duration
From the spec, it's not clear whether
calc()
function can be used for animation duration or not. At the moment, I see Chrome supporting it but firefox doesn't.This clearly has advantage in conjunction with CSS custom properties. Here's one such example.
https://codepen.io/praveenpuglia/pen/RVWKew/
The text was updated successfully, but these errors were encountered: