Re: [csswg-drafts] [css-animations-2] Proposal: Time-based Keyframe Animations (#4907)

@bramus I wrote out some thoughts under "Scaling" in the original post. My initial thought was an animation with a last keyframe of `2s` given a duration of `1s` would speed up playback 200%, much like speeding up a clip in a video editor. This is more consistent with how `animation-duration` currently works for percentage based keyframes. There's also some details on doing percentage based values for `animation-duration` as well.

Having duration acting as a cutoff is interesting, though has a lot of deeper implications. I'd be cautious of introducing that in `animation-duration`, and perhaps a separate property/properties that could control the "start" and "end" of the keyframes might be more appropriate.


-- 
GitHub Notification of comment by shshaw
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4907#issuecomment-2582717213 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 10 January 2025 13:29:54 UTC