Re: [csswg-drafts] [scroll-animations-1] Bring back Scroll Offsets (#7575)

FWIW I was thinking allowing lengths or percentages for ranges would allow greater flexibility:

```css
animation-delay: [ <time> | <timeline-range-name>? [<percentage> | <length>]]+
```

Then you could use calculations within ranges, e.g.
```css
/* Starts 10px after entering until 10px before done entering. */
animation-delay: enter 10px enter calc(100% - 10px);
```

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


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

Received on Tuesday, 27 September 2022 21:06:33 UTC