Image swap on hover

Preview

HTML

<div class="relative h-80 w-80 group">
  <img class="absolute inset-0 object-cover w-full h-full" src="https://source.unsplash.com/collection/1416812/900x900" />
  <img class="absolute inset-0 object-cover w-full h-full transition duration-500 group-hover:opacity-0 backface-hidden" src="https://source.unsplash.com/collection/1416812/800x800" />
</div>