Currently, I am customizing my markdown pages with Tailwind typography and prose. I am facing an issue where the hover effect is being applied to all images at once instead of just the one being hovered over. Any ideas on how to fix this?
Here is a snippet of my code:
<article
class="prose-img:w-full prose-img:rounded-2xl prose-img:object-cover prose-img:transition-all prose-img:duration-500 prose-img:ease-out prose-img:hover:scale-[1.01] prose-img:md:rounded-3xl"
>
I tried using prose-img:hover in hopes that it would only affect the image being hovered on, but it ends up affecting all images. Additionally, hovering on one image triggers the effect on all images. Any suggestions to resolve this issue?