组件 容器 容器组件 30

容器组件 30

一种响应式3D设计容器组件,融入三维元素以增加深度和互动,支持黑暗主题。

预览

HTML 代码

<div class="bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden transform transition-transform duration-300 hover:scale-105">
    <div class="p-6">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">3D Design Container</h2>
        <p class="text-gray-600 dark:text-gray-400 mb-6">This container showcases a 3D design style with engaging depth. It looks appealing in both light and dark themes.</p>
        <div class="flex items-center">
            <img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
            <div>
                <h3 class="text-lg font-semibold text-gray-800 dark:text-white">John Doe</h3>
                <p class="text-gray-500 dark:text-gray-400">User Role</p>
            </div>
        </div>
    </div>
    <div class="relative overflow-hidden">
        <img class="w-full h-48 object-cover transform transition-transform duration-300"
            src="https://picsum.photos/800/400?random=1" alt="Random Image">
        <div class="absolute inset-0 bg-gradient-to-t from-black opacity-30"></div>
    </div>
</div>

相关组件

容器组件

用于电子商务的响应式容器组件,支持深色模式

打开

容器组件

一个拟物化的作品集容器组件,具有黑暗主题和响应式设计,展示作品和产品,并包含互动元素。

打开

容器组件

一个简单的响应式仪表板容器,具有吸引人的微交互和暗主题,专注于类比色调。

打开