组件 容器 容器组件 21

容器组件 21

一个具有响应能力的复古/老式风格的容器组件,支持深色主题。

预览

HTML 代码

<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 max-w-md mx-auto">
  <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">Welcome to Nostalgia</h2>
  <p class="text-gray-600 dark:text-gray-300 mb-4">Experience the charm of the 80s and 90s with our carefully curated content. Dive into the vintage vibes that bring back fond memories.</p>
  <img class="rounded-lg mb-4" src="https://picsum.photos/400/200?random=1" alt="Retro Image" />
  <div class="flex items-center">
    <img class="w-12 h-12 rounded-full border-2 border-gray-300 dark:border-gray-600" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" />
    <div class="ml-4">
      <h3 class="text-lg font-semibold text-gray-800 dark:text-white">John Doe</h3>
      <p class="text-gray-500 dark:text-gray-400">Retro Enthusiast</p>
    </div>
  </div>
  <button class="mt-6 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full transition duration-300 ease-in-out">
    Explore More
  </button>
</div>

相关组件

容器组件

一个复古/复古风格的组合组件,适用于作品集,采用单色配色方案,并支持暗黑模式。

打开

电子商务集装箱组件

Glassmorphism 电子商务容器组件,具有三重配色方案和复杂布局,包括深色模式支持

打开

容器组件

一个响应式容器组件,具有微交互功能,配备针对用户操作反应的引人入胜的动画,支持暗黑模式,并使用Tailwind CSS。

打开