<div class="bg-local bg-contain overflow-auto m-2 h-48 w-64" style="background-image: url('https://tailwind.build/placeholders/pictures/office.jpg')">
<div class="h-64 w-64"></div>
</div>
<div class="bg-local bg-contain overflow-auto m-2 h-48 w-64" style="background-image: url('https://tailwind.build/placeholders/pictures/office.jpg')">
<div class="h-64 w-64"></div>
</div>
.bg-local {
background-attachment: local;
}