You can also enlarge or shrink an HTML element using scale
. If the value provided is larger than 1
, the element will grow (for example, scale(3)
multiplies the size of the element by 3
).
On the contrary, a value less than 1
will shrink the element (for example, scale(0.5)
halves the size).
Reproduce the animation.