Sha256: 76812d75dc29ce23d543763de07cff935149b386947242ada58d3fb7b1c7168c

Contents?: true

Size: 1.84 KB

Versions: 29

Compression:

Stored size: 1.84 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">
    <div class="flex items-center justify-between space-x-4">
      <h2 class="text-lg font-medium text-gray-900">Customers also viewed</h2>
      <a href="#" class="whitespace-nowrap text-sm font-medium text-indigo-600 hover:text-indigo-500">
        View all
        <span aria-hidden="true"> &rarr;</span>
      </a>
    </div>
    <div class="mt-6 grid grid-cols-1 gap-x-8 gap-y-8 sm:grid-cols-2 sm:gap-y-10 lg:grid-cols-4">
      <div class="group relative">
        <div class="aspect-w-4 aspect-h-3 overflow-hidden rounded-lg bg-gray-100">
          <img src="https://tailwindui.com/img/ecommerce-images/product-page-05-related-product-01.jpg" alt="Payment application dashboard screenshot with transaction table, financial highlights, and main clients on colorful purple background." class="object-cover object-center">
          <div class="flex items-end p-4 opacity-0 group-hover:opacity-100" aria-hidden="true">
            <div class="w-full rounded-md bg-white bg-opacity-75 py-2 px-4 text-center text-sm font-medium text-gray-900 backdrop-blur backdrop-filter">View Product</div>
          </div>
        </div>
        <div class="mt-4 flex items-center justify-between space-x-8 text-base font-medium text-gray-900">
          <h3>
            <a href="#">
              <span aria-hidden="true" class="absolute inset-0"></span>
              Fusion
            </a>
          </h3>
          <p>$49</p>
        </div>
        <p class="mt-1 text-sm text-gray-500">UI Kit</p>
      </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/10.html
tailwind_dsl-0.0.31 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.30 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.29 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.28 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.27 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.26 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.25 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.24 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.23 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.22 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.21 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.20 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.19 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.18 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.17 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.16 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.15 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.14 .components/tui/ecommerce/components/product-lists/10.html
tailwind_dsl-0.0.13 .components/tui/ecommerce/components/product-lists/10.html