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>
相关组件
Neon_Glow_Healthcare_Container_Component
一个复杂的响应式容器组件,适用于医疗保健应用,具有霓虹灯/发光黑白配色方案和充满活力的点缀。具有多个交互式元素、深色模式支持和语义 HTML。
Material Design 电子商务容器
一个响应式电子商务容器组件,具有产品网格、购物车摘要和深色主题支持,使用 Material Design 原则和大地色调配色方案设计。它具有多个交互式元素,包括带有图像、标题、价格和“添加到购物车”按钮的产品卡,以及随添加商品而更新的粘性购物车摘要。布局会针对不同的屏幕大小进行调整,并且所有元素都具有使用 Tailwind CSS dark: 前缀定义的深色模式样式。