Question: *How do I make a responsive image?*
Answer#
Give the slot a fixed height and let object-cover crop the image into it. undefined
Markup#
<img class="w-full h-64 object-cover rounded-xl" src="photo.jpg" alt="" />Where to go deeper#
Cookbook · Layout patterns · Utilities reference
Tip. This answer targets Nakshora 1.0. The same question is answered version-appropriately in every other release — use the version switcher.
