Follow

With CSS `animation-composition` you can define how animation effects should composite: replace, add, or accumulate.

In his article covering the property over at 12daysofweb.dev, @tylergaw stumbled upon a curious case: accumulating `scale(0.5)` with `scale(2)` is not `scale(2.5)` but `scale(1.5)`.

Pretty weird, right? 🤨

Well, it’s not … here’s why: brm.us/accumulate-scale

· · Web · 1 · 13 · 19