Why doesn't my button animate instantly when I add the hover class?
Because the transition properties (duration and timing) must be set before the hover state to tell the browser how to animate the change. See step 2 where transition classes prepare the animation.
💡 Always add transition classes on the base element, not only on hover.
Why does the animation feel too fast or too slow?
The duration class controls speed. For example, duration-500 means 500 milliseconds. Adjust this value to speed up or slow down the animation as in step 2.
💡 Use duration classes like duration-300 or duration-700 to control animation speed.
What does the ease-in-out timing curve do visually?
It makes the animation start slow, speed up in the middle, then slow down at the end, creating a smooth natural feel. See step 2 for the timing function applied.
💡 Try different timing classes like ease-linear or ease-in to see different animation feels.