W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

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

From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Aug 2021 00:07:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-902332810-1629418068-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC