is now part of Shuffle™. The new editor includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
Switch to Shuffle →
← Tailwind CSS classes list

Tailwind CSS class: .bg-auto

<div class="bg-auto h-48 w-64" style="background-image: url('https://tailwind.build/placeholders/pictures/office.jpg')"></div>

Preview

CSS source

.bg-auto {
  background-size: auto;
}

More in Tailwind CSS Background