Hereโs what youโll get by the end of this lesson:
Animating the button
Letโs start simple. We will animate the button first.
When the user hovers over the button, we want to animate the change in the background color. When the user hovers out of the button, we want to animate change in background again.
This is a simple animation. To animate this change, we can add the transition property to button.