Tailwind CSS Classes

Tailwind CSS class .bg-left-top

<div class="bg-left-top 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

CSS source

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

Check .bg-left-top 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.