Tailwind CSS Classes

Tailwind CSS class .bg-repeat-x

<div class="bg-repeat-x bg-gray-400 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-repeat-x { background-repeat: repeat-x; }

More Tailwind CSS classes in Background category

© 2024 Shuffle. All rights reserved.