Add the CSS animation to tooltip

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.

Photo by Zhifei Zhou on Unsplash

But before we continue, just want to demonstrate a easy transition first. Just change the background color from red to yellow.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store