交互组件

一个展示具有深度效果的卡片的3D互动组件,具有响应式设计和深色主题支持。

预览

HTML 代码

<div class="flex flex-wrap justify-center gap-4 p-6 bg-gray-100 dark:bg-gray-900 transition-all duration-300">
    <div class="rounded-lg shadow-lg transform transition-transform duration-300 hover:scale-105 dark:bg-gray-800 bg-white p-4">
        <img src="https://picsum.photos/200/300" alt="Placeholder Image" class="rounded-md mb-4">
        <h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">Card Title 1</h2>
        <p class="text-gray-600 dark:text-gray-300">This is a brief description of the first card. It's an engaging component.</p>
    </div>
    <div class="rounded-lg shadow-lg transform transition-transform duration-300 hover:scale-105 dark:bg-gray-800 bg-white p-4">
        <img src="https://picsum.photos/200/300?random=1" alt="Placeholder Image" class="rounded-md mb-4">
        <h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">Card Title 2</h2>
        <p class="text-gray-600 dark:text-gray-300">This is a brief description of the second card. Enjoy the depth effect!</p>
    </div>
    <div class="rounded-lg shadow-lg transform transition-transform duration-300 hover:scale-105 dark:bg-gray-800 bg-white p-4">
        <img src="https://picsum.photos/200/300?random=2" alt="Placeholder Image" class="rounded-md mb-4">
        <h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">Card Title 3</h2>
        <p class="text-gray-600 dark:text-gray-300">This is a brief description of the third card. The 3D design enhances engagement.</p>
    </div>
</div>

相关组件

交互式食品配送组件

一个复杂的交互式食品配送和餐厅组件,具有霓虹灯效果、鲜艳的色彩和多个交互式元素。专为响应速度和深色模式支持而设计。

打开

交互式组件组件

一个社交媒体互动组件,具有柔和的配色方案、适度的复杂度、响应式设计和深色模式支持,使用 Tailwind CSS 构建并遵循 Material Design 原则。它使用来自 picsum.photos 的虚拟图像和 randomuser.me 中的头像。

打开

交互组件组件

一个为社交媒体设计的复杂互动组件,采用拟物化设计和单色配色方案。

打开