When you want to transition more than one CSS property at the same time, you'll have to use another Fx
class extension, Fx.Morph
. The biggest difference between Fx.Morph
and Fx.Tween
is that the former is able to transition more than one CSS property simultaneously (imagine transitioning the color, width, and height of an element at the same time).
Let's learn about Fx.Morph
through an example!