is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
← Tailwind CSS classes list

Tailwind CSS class: .bg-local

<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>

Preview

CSS source

.bg-local {
  background-attachment: local;
}

More in Tailwind CSS Background