Open this example in the interactive library
Source code
<figure
class="demo overflow-hidden w-36 [&_img]:scale-[1.6] [&_img]:origin-[60%_30%]"
>
<img
alt="Study in geometric shapes"
width="150"
height="72"
src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='72'%3E%3Ccircle cx='80' cy='30' r='20' fill='teal'/%3E%3C/svg%3E"
/>
</figure>