<div class="bg-contain h-48 w-64" style="background-image: url('https://tailwind.build/placeholders/pictures/office.jpg')"></div>
<div class="bg-contain h-48 w-64" style="background-image: url('https://tailwind.build/placeholders/pictures/office.jpg')"></div>
.bg-contain {
background-size: contain;
}
Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.
© 2024 Shuffle. All rights reserved.