组件 网格布局 投资组合的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>

相关组件

玻璃态网格布局组件

支持响应式与黑暗主题的玻璃塑形网格布局组件

打开

网格布局组件 29

一种响应式网格布局组件,以野兽派风格设计,具有高对比度和不寻常的布局,支持使用Tailwind CSS的黑暗模式。

打开

拟物化网格布局组件

具响应效果和支持黑暗主题的拟物化网格布局组件

打开