组件 网格布局 投资组合的3D网格布局组件

投资组合的3D网格布局组件

一个复杂、响应式且采用3D样式的网格布局组件,适用于作品集,使用互补色,支持暗黑模式并使用来自picsum.photos的图像。

预览

HTML 代码

<div class="p-8 dark:bg-gray-900 min-h-screen">
  <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden transform transition duration-500 hover:scale-105 hover:shadow-2xl perspective-1000">
      <div class="relative group">
        <img src="https://picsum.photos/seed/picsum1/600/400" alt="Project 1" class="w-full h-64 object-cover">
        <div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-500">
          <a href="#" class="text-white text-xl font-bold">View Project</a>
        </div>
      </div>
      <div class="p-6">
        <h3 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Project Alpha</h3>
        <p class="text-gray-600 dark:text-gray-300">A brief description of Project Alpha, highlighting its key features and technologies used. This is a placeholder.</p>
      </div>
    </div>

    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden transform transition duration-500 hover:scale-105 hover:shadow-2xl perspective-1000">
      <div class="relative group">
        <img src="https://picsum.photos/seed/picsum2/600/400" alt="Project 2" class="w-full h-64 object-cover">
        <div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-500">
          <a href="#" class="text-white text-xl font-bold">View Project</a>
        </div>
      </div>
      <div class="p-6">
        <h3 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Project Beta</h3>
        <p class="text-gray-600 dark:text-gray-300">A brief description of Project Beta, highlighting its key features and technologies used. This is a placeholder.</p>
      </div>
    </div>

    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden transform transition duration-500 hover:scale-105 hover:shadow-2xl perspective-1000">
      <div class="relative group">
        <img src="https://picsum.photos/seed/picsum3/600/400" alt="Project 3" class="w-full h-64 object-cover">
        <div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-500">
          <a href="#" class="text-white text-xl font-bold">View Project</a>
        </div>
      </div>
      <div class="p-6">
        <h3 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Project Gamma</h3>
        <p class="text-gray-600 dark:text-gray-300">A brief description of Project Gamma, highlighting its key features and technologies used. This is a placeholder.</p>
      </div>
    </div>

    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden transform transition duration-500 hover:scale-105 hover:shadow-2xl perspective-1000">
      <div class="relative group">
        <img src="https://picsum.photos/seed/picsum4/600/400" alt="Project 4" class="w-full h-64 object-cover">
        <div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition duration-500">
          <a href="#" class="text-white text-xl font-bold">View Project</a>
        </div>
      </div>
      <div class="p-6">
        <h3 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Project Delta</h3>
        <p class="text-gray-600 dark:text-gray-300">A brief description of Project Delta, highlighting its key features and technologies used. This is a placeholder.</p>
      </div>
    </div>
  </div>
</div>

相关组件

受纸张启发的充满活力的医疗保健网格

一个简单的、受纸张/打印启发的网格布局组件,具有鲜艳的色彩,专为医疗保健/医疗应用程序而设计。它是完全响应式的,包括深色模式支持,并使用语义 HTML。

打开

Skeuomorphic_Grid_Layout_Business

一个复杂的响应式网格布局组件,适用于商业/公司网站,具有拟物化设计风格、暖色中性色和深色模式支持。元素模拟具有深度和微妙纹理的真实世界对象。

打开

网格布局组件

一个遵循材料设计原则的响应式网格布局组件,具有阴影效果和黑暗模式支持,使用Tailwind CSS。

打开