TLDRThe Web Animations API allows us to mix up this behavior through the introduction of the composite option. If we change the second animation to add a composite: 'add' option, we tell it to add the value of this animation to whatever the current state of that property is. Properties that accept any number-based valu (such as

2m read time From danielcwilson.com
Post cover image
1 Comment

Sort: