组件 资本 复古复古模态组件

复古复古模态组件

一个简单的 retro/vintage 模态组件,带有互补的配色方案,用于展示工作或产品,使用 Tailwind CSS 设计。

预览

HTML 代码

<div class="fixed inset-0 flex items-center justify-center bg-gray-900 bg-opacity-80 dark:bg-black dark:bg-opacity-90">  <div class="bg-yellow-300 dark:bg-yellow-700 text-gray-800 dark:text-gray-200 rounded-lg p-6 max-w-md w-full shadow-lg">    <h2 class="text-lg font-bold mb-4">My Portfolio Item</h2>    <img class="mb-4 rounded" src="https://picsum.photos/300/200" alt="Portfolio Item">    <p class="mb-4">This is a short description of the portfolio item showcasing the work or product. Explore more to find out how it can benefit you!</p>    <div class="flex items-center">      <img class="rounded-full w-10 h-10 mr-2" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar">      <span class="font-semibold">John Doe</span>    </div>    <div class="mt-6 flex justify-end">      <button class="bg-yellow-500 hover:bg-yellow-600 dark:bg-yellow-600 dark:hover:bg-yellow-500 text-white font-bold py-2 px-4 rounded">Close</button>    </div>  </div></div>

相关组件

GlassmorphismModalComponent (玻璃形态模态组件)

一个 Glassmorphism 风格的模态组件,具有相似的配色方案,复杂度适中,适合博客/内容显示。具有响应式设计,使用 Tailwind CSS 支持深色主题。

打开

复古模态组件

一个响应式复古/复古风格的模态组件,使用Tailwind CSS设计,支持暗模式,融入怀旧的80年代/90年代美学。

打开

模态组件

一个响应式模态组件,采用微交互和三元配色方案设计,适用于社交媒体界面。具有用户交互时的动画效果,并使用Tailwind CSS提供暗主题支持。

打开