Make an Image POP-IN & POP-OUT with JavaScript, HTML, and CSS

A quick way to add style to your web design…animation.

Let’s start by setting the scale of our image to 0 in the CSS and capturing it in our JavaScript.

Now let’s create a function that “pops in” our image.
To do this we’ll manipulate CSS properties of the image using…