Re: [csswg-drafts] [css-animations][css-transitions][css-gradients] Higher level CSS interpolation module (#5617)

That's interesting, as a kind of `repeat()`-like interpolation for generating several values in one place. 

As I understand the request here, another big part of this issue is thinking about new ways to _control_ interpolation -- scrubbing seamlessly along the easing curve between values, based on… something.

- Historically `transition` and `animation` both followed a simple duration-based timeline, triggered by some event, and following through to the end
- Now an `animation` can also be linked to (and controlled by) a "scroll timeline" not based on duration, but on scroll-position

Currently, we can trigger duration-based interpolation with `@media` or `@container`, but we can't create new timelines based on them, the way we can with scroll-position. What would it look like to generalize out from scroll timelines, to allow even more interpolation *controls*?

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


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

Received on Friday, 20 August 2021 00:07:51 UTC