Add the CSS animation to tooltip
CSS variable and CSS transition
In the previous article, we already created the tooltip.
This part we want to add the animation to this tooltip. We want to make it from scale 0 to scale 1.
But before we continue, just want to demonstrate a easy transition first. Just change the background color from red to yellow.