功能组件

一张简单、响应式 3D 风格的电子商务产品卡,具有相似的配色方案,支持深色模式。

预览

HTML 代码

<div class="relative flex min-h-screen items-center justify-center bg-gray-100 p-4 dark:bg-gray-900">
  <div class="relative h-96 w-72 transform rounded-lg bg-gradient-to-br from-purple-400 to-indigo-500 p-6 shadow-2xl transition-all duration-300 hover:scale-105 dark:from-purple-700 dark:to-indigo-800">
    <div class="absolute inset-0 -z-10 transform rounded-lg bg-gradient-to-br from-purple-300 to-indigo-400 opacity-50 blur-xl dark:from-purple-600 dark:to-indigo-700"></div>
    <div class="flex flex-col items-center justify-between h-full">
      <h2 class="mb-2 text-center text-2xl font-bold text-white">3D Product</h2>
      <div class="relative mb-4 h-32 w-32">
        <img src="https://picsum.photos/id/176/200/200" alt="Product Image" class="h-full w-full rounded-full object-cover shadow-lg transform transition-transform duration-300 hover:scale-110">
        <div class="absolute inset-0 rounded-full ring-4 ring-white ring-opacity-50 dark:ring-gray-800"></div>
      </div>
      <p class="mb-4 text-center text-sm text-white text-opacity-80">A high-quality product with a unique 3D design for an immersive experience.</p>
      <div class="flex items-center justify-between w-full">
        <span class="text-xl font-bold text-white">$99.99</span>
        <button class="rounded-full bg-white px-4 py-2 text-purple-600 shadow-md transition-all duration-300 hover:bg-purple-100 hover:text-purple-700 dark:bg-gray-800 dark:text-white dark:hover:bg-gray-700">
          Add to Cart
        </button>
      </div>
    </div>
  </div>
</div>

相关组件

Neon_Glow_Marketplace_Component

一个复杂的市场组件,具有明亮、发光的元素和三重配色方案,专为多供应商平台设计。功能包括产品卡、类别、搜索和用户配置文件,所有这些都是响应式的,并支持深色模式。

打开

功能组件组件

一个模仿现实世界对应物的网络组件,采用商业企业风格,具有互补色彩方案、简单布局以及支持暗模式的响应式设计。

打开

拟物功能组件

一个遵循神经形态设计风格的网络组件,使用Tailwind CSS构建。它通过CSS纯粹支持响应式设计和黑暗模式。

打开