Re: [csswg-drafts] [css-animations-2] Synchronised animation timelines (#8534)

> [#](https://github.com/w3c/csswg-drafts/issues/8534#issuecomment-1457239464) I think this would be better addressed using group effects.

IUC [group effects](https://drafts.csswg.org/web-animations-2/#grouping-and-synchronization) is more about grouping effects on one and the same element? How would that work across several elements?

> [#](https://github.com/w3c/csswg-drafts/issues/8534#issuecomment-1457239464) Adding coupling between timelines and effects seems awkward architecturally.

What I’m aiming at here is to visually sync animations across several elements. With the idea I had there’s no actual coupling between any of the timelines. Effects would still run independent from each other on the document timeline, yet _appear_ to be synced because they all have their start time fixated to `0` _(or a multiple of their duration)_. This approach could then also be used to align group effects across elements.

I’m very aware I could be oversimplifying things here, Brian; happy to learn what the group effects approach would _(roughly)_ look like.

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


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

Received on Tuesday, 7 March 2023 10:06:34 UTC