I'm trying to replicate the zoom/easing effect when hovering one of the "egg" kind of buttons on this page.
I managed to replicate the zoom effect like this:
.egg_button:hover {
transform: scale(1.2, 1.2);
}
But how to incorporate the bouncing and easing effect present in the model page?
Using
@keyframes
this is how you can do this:Demo on dabblet
HTML:
CSS: