🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

What are the Best CSS attributes to Achieve the Hotspot from Sanity Image?

3 replies
Last updated: May 30, 2020
Hey Team it's a dumb doubt but what best CSS attributes we have to use to achieve the hotspot from Sanity Image
May 28, 2020, 4:22 AM
I would recommend using the image-url builder when using hotspot. Just give it the asset, including the hotspot and cropping data and it will generate the url for you. You don't have to do any css trickery unless you have a special needs.

May 28, 2020, 9:00 AM
user J
will work on it!
May 28, 2020, 9:35 AM
It worked thanks !
May 30, 2020, 9:14 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?