← Tailwind CSS classes list

Tailwind CSS class: .bg-no-repeat

<div class="bg-no-repeat bg-gray-400 m-2 h-48 w-64" style="background-image: url('https://tailwind.build/placeholders/pictures/office.jpg'); background-size: 12rem 8rem"></div>

Preview

CSS source

.bg-no-repeat {
  background-repeat: no-repeat;
}

More in Tailwind CSS Background