← catalogo / components/promo-sections
TW-CO-PS-03
Tailwind Plus
tailwind/ecommerce/components/promo-sections/03-full-width-with-overlapping-image-tiles
html: questa e' vue, sotto c'e' il sorgente.
<template>
<div class="bg-white">
<div class="overflow-hidden pt-32 sm:pt-14">
<div class="bg-gray-800">
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div class="relative pt-48 pb-16 sm:pb-24">
<div>
<h2 id="sale-heading" class="text-4xl font-bold tracking-tight text-white md:text-5xl">
Final Stock.
<br />
Up to 50% off.
</h2>
<div class="mt-6 text-base">
<a href="#" class="font-semibold text-white">
Shop the sale
<span aria-hidden="true"> →</span>
</a>
</div>
</div>
<div class="absolute -top-32 left-1/2 min-w-max -translate-x-1/2 transform sm:top-6 sm:translate-x-0">
<div class="ml-24 flex space-x-6 sm:ml-3 lg:space-x-8">
<div class="flex space-x-6 sm:flex-col sm:space-y-6 sm:space-x-0 lg:space-y-8">
<div class="shrink-0">
<img class="size-64 rounded-lg object-cover md:size-72" src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-03-category-01.jpg" alt="" />
</div>
<div class="mt-6 shrink-0 sm:mt-0">
<img class="size-64 rounded-lg object-cover md:size-72" src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-03-category-02.jpg" alt="" />
</div>
</div>
<div class="flex space-x-6 sm:-mt-20 sm:flex-col sm:space-y-6 sm:space-x-0 lg:space-y-8">
<div class="shrink-0">
<img class="size-64 rounded-lg object-cover md:size-72" src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-03-favorite-01.jpg" alt="" />
</div>
<div class="mt-6 shrink-0 sm:mt-0">
<img class="size-64 rounded-lg object-cover md:size-72" src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-03-favorite-02.jpg" alt="" />
</div>
</div>
<div class="flex space-x-6 sm:flex-col sm:space-y-6 sm:space-x-0 lg:space-y-8">
<div class="shrink-0">
<img class="size-64 rounded-lg object-cover md:size-72" src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-03-category-01.jpg" alt="" />
</div>
<div class="mt-6 shrink-0 sm:mt-0">
<img class="size-64 rounded-lg object-cover md:size-72" src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-03-category-02.jpg" alt="" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>