Zoom Top Left

Subtle 1.5x scale-up anchored at the top-left corner.

Zoom Top Left demo

Hover or focus the image to see the effect.

HTML

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

CSS

.hover-effect.zoom-top-left img{
  transform-origin: 0% 0%;
  transition: transform 0.45s ease;
}

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

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