is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
← Tailwind CSS classes list

Tailwind CSS class: .bg-clip-padding

    <div class="border-4 border-black border-dashed p-6 bg-clip-padding bg-gray-200 bg-no-repeat h-48 w-64" style="background-image: url('https://shuffle.dev/placeholders/pictures/office.jpg'); background-size: 12rem 8rem"></div>

Preview

More in Tailwind CSS Background clip