Tailwind CSS Classes

Tailwind CSS class .bg-clip-content

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

Preview

Are you tired of writing HTML by hand?

More Tailwind CSS classes in Background Clip category

© 2024 Shuffle. All rights reserved.