Zoom Top Right

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

Zoom Top Right demo

Hover or focus the image to see the effect.

HTML

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

CSS

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

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

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