Zoom Bottom

Subtle 1.5x scale-up anchored at the bottom edge.

Zoom Bottom demo

Hover or focus the image to see the effect.

HTML

<div class="hover-effect zoom-bottom">
  <img src="image.jpg" alt="description">
</div>

CSS

.hover-effect.zoom-bottom img{
  transform-origin: 50% 100%;
  transition: transform 0.45s ease;
}

.hover-effect.zoom-bottom:hover img, .hover-effect.zoom-bottom:focus-visible img{
  transform: scale(1.5);
}

Select the code and copy with Ctrl+C or ⌘C.