Tailwind CSS Classes

Tailwind CSS class .bg-bottom

<div class="bg-bottom 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-bottom {
  background-position: bottom;
}

Check .bg-bottom in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Tailwind CSS classes in Background category

© 2024 Shuffle. All rights reserved.