Tailwind CSS Classes

Tailwind CSS class .bg-left-bottom

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

Preview

Are you tired of writing HTML by hand?

CSS source

.bg-left-bottom { background-position: left bottom; }

More Tailwind CSS classes in Background category

© 2024 Shuffle. All rights reserved.