Sha256: b261c45c07735c14a4deb5ddb51858ddf00d16588562f012e9d3a961c1e0b880

Contents?: true

Size: 1.4 KB

Versions: 29

Compression:

Stored size: 1.4 KB

Contents

<!--
  This example requires some changes to your config:
  
  ```
  // tailwind.config.js
  module.exports = {
    // ...
    plugins: [
      // ...
      require('@tailwindcss/aspect-ratio'),
    ],
  }
  ```
-->
<div class="bg-white">
  <div class="mx-auto max-w-2xl py-16 px-4 sm:py-24 sm:px-6 lg:max-w-7xl lg:px-8">
    <h2 class="text-2xl font-bold tracking-tight text-gray-900">Customers also purchased</h2>

    <div class="mt-6 grid grid-cols-1 gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8">
      <div class="group relative">
        <div class="min-h-80 aspect-w-1 aspect-h-1 w-full overflow-hidden rounded-md bg-gray-200 group-hover:opacity-75 lg:aspect-none lg:h-80">
          <img src="https://tailwindui.com/img/ecommerce-images/product-page-01-related-product-01.jpg" alt="Front of men&#039;s Basic Tee in black." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
        </div>
        <div class="mt-4 flex justify-between">
          <div>
            <h3 class="text-sm text-gray-700">
              <a href="#">
                <span aria-hidden="true" class="absolute inset-0"></span>
                Basic Tee
              </a>
            </h3>
            <p class="mt-1 text-sm text-gray-500">Black</p>
          </div>
          <p class="text-sm font-medium text-gray-900">$35</p>
        </div>
      </div>

      <!-- More products... -->
    </div>
  </div>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
tailwind_dsl-0.0.32 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.31 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.30 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.29 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.28 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.27 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.26 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.25 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.24 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.23 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.22 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.21 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.20 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.19 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.18 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.17 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.16 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.15 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.14 .components/tui/ecommerce/components/product-lists/01.html
tailwind_dsl-0.0.13 .components/tui/ecommerce/components/product-lists/01.html