The animation-composition CSS property chooses how to combine animations that affect the same property.
animation-composition