← Tailwind CSS classes list

Tailwind CSS class: .bg-top

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

Preview

CSS source

.bg-top {
  background-position: top;
}

More in Tailwind CSS Background