组件 容器 粗犷主义容器组件

粗犷主义容器组件

一个简单但大胆的容器组件,采用粗犷主义风格和鲜艳色彩方案,适合商业或企业网站,支持使用 Tailwind CSS 的黑暗模式。

预览

HTML 代码

<div class="container mx-auto p-4">
    <div class="bg-yellow-400 dark:bg-yellow-600 border-4 border-red-800 dark:border-red-500 rounded-lg shadow-xl p-6">
        <h1 class="text-2xl font-extrabold text-blue-900 dark:text-blue-200 mb-4">Business Title</h1>
        <p class="text-base text-gray-800 dark:text-gray-200 mb-6">This is a simple yet bold container designed for a business or corporate website. The design embraces a brutalist style with vibrant colors.</p>
        <img src="https://picsum.photos/400/200" alt="Random Image" class="w-full h-auto rounded-lg mb-4">
        <div class="flex items-center">
            <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar" class="w-12 h-12 rounded-full border-4 border-blue-900 dark:border-blue-200 mr-2">
            <div class="text-sm">
                <p class="font-bold text-gray-900 dark:text-gray-100">John Doe</p>
                <p class="text-gray-700 dark:text-gray-300">CEO, Company Name</p>
            </div>
        </div>
    </div>
</div>

相关组件

拟物容器

一个具有拟物设计和深色模式支持的响应式容器组件,使用Tailwind CSS.

打开

容器组件

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

打开

社交媒体拟物化容器

一个拟物化的社交媒体容器,采用单色方案设计,具有柔和的阴影、微妙的渐变和圆润的边缘,以模仿按钮和卡片等现实世界的元素,适合显示用户帖子或个人资料。包括完全响应和深色模式支持。

打开