Re: [csswg-drafts] Interpolate values between breakpoints (#6245)

> A typical example might look like:
> 
> ```
> @timeline font-size-timeline {
>   type: media;
>   feature: width;
>   from: 20em;
>   to: 60em;
> }
> ```

As an addendum: for CSS `@scroll-timeline` — as specced in the [Scroll-Linked Animations spec](https://drafts.csswg.org/scroll-animations-1/) — the authors explicitly moved **away** from using `start` _(here named `from`)_ and `end` _(there named `to`)_ as descriptors. 

They replaced it with one descriptor named [`scroll-offsets`](https://drafts.csswg.org/scroll-animations-1/#descdef-scroll-timeline-scroll-offsets) _(which here could be named `offsets`)_, that accepts an array of values.

As per spec:

> Scroll timeline offsets determine the effective scroll offsets in the direction specified by orientation that constitute the equally-distanced in progress intervals in which the timeline is active.

That way they allow more than two offset to be used.

Relevant Issue: https://github.com/w3c/csswg-drafts/issues/4912, specifically [this comment](https://github.com/w3c/csswg-drafts/issues/4912#issuecomment-664497771).

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


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

Received on Friday, 24 September 2021 14:11:18 UTC