组件 网格布局 网格布局组件 7

网格布局组件 7

一个采用野兽派风格设计的响应式网格布局组件,使用 Tailwind CSS,具有深色主题支持和随机占位符图像。

预览

HTML 代码

<div class="bg-gray-100 dark:bg-gray-800 p-8">
    <h1 class="text-4xl font-extrabold text-black dark:text-white mb-6">Brutalism Grid Layout</h1>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=1" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 1</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 1.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=2" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 2</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 2.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=3" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 3</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 3.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=4" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 4</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 4.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=5" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 5</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 5.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=6" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 6</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 6.</p>
        </div>
    </div>
</div>

相关组件

Monospace/Developer - 音乐/音频网格布局组件

一个用于音乐/音频平台的简单响应式网格布局组件,使用暖色中性色以等宽/开发人员的美感设计。包括深色模式支持。

打开

Monospace_Developer_Food_Grid_Layout

一个简单的等宽主题网格布局组件,适用于食品/餐厅网站,具有简洁的设计和单色配色方案,并支持深色模式。

打开

渐变网格预订布局

用于预订/预订系统的复杂响应式网格布局组件,具有三色渐变、平滑过渡和深色模式支持。设计具有多种互动元素。

打开