← catalogo / components/promo-sections
TW-CO-PS-04
Tailwind Plus
tailwind/ecommerce/components/promo-sections/04-with-background-image
<div class="bg-white">
<div class="mx-auto max-w-7xl px-4 py-16 sm:px-6 sm:py-24 lg:px-8">
<div class="relative overflow-hidden rounded-lg">
<div class="absolute inset-0">
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-01-feature-section-01.jpg" alt="" class="size-full object-cover" />
</div>
<div class="relative bg-gray-900/75 px-6 py-32 sm:px-12 sm:py-40 lg:px-16">
<div class="relative mx-auto flex max-w-3xl flex-col items-center text-center">
<h2 class="text-3xl font-bold tracking-tight text-white sm:text-4xl">
<span class="block sm:inline">Level up</span>
<span class="block sm:inline">your desk</span>
</h2>
<p class="mt-3 text-xl text-white">Make your desk beautiful and organized. Post a picture to social media and watch it get more likes than life-changing announcements. Reflect on the shallow nature of existence. At least you have a really nice desk setup.</p>
<a href="#" class="mt-8 block w-full rounded-md border border-transparent bg-white px-8 py-3 text-base font-medium text-gray-900 hover:bg-gray-100 sm:w-auto">Shop Workspace</a>
</div>
</div>
</div>
</div>
</div>