object fit cover tailwind code example
Example: tailwind object fit cover
<div class="bg-indigo-300 ...">
<img class="object-cover h-48 w-full ...">
</div>
<div class="bg-indigo-300 ...">
<img class="object-cover h-48 w-full ...">
</div>