媒体组件 2

一个复古/古典风格的媒体组件,采用受80年代/90年代美学启发的怀旧设计,具有响应式效果和深色主题支持,使用 Tailwind CSS。

预览

HTML 代码

<div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden">
    <img class="w-full h-48 object-cover" src="https://picsum.photos/seed/retro/400/300" alt="Retro Image">
    <div class="p-6">
        <div class="flex items-center mb-4">
            <img class="w-10 h-10 rounded-full border-2 border-gray-300 dark:border-gray-600 mr-3" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
            <div>
                <h2 class="text-xl font-bold text-gray-900 dark:text-white">John Doe</h2>
                <p class="text-gray-600 dark:text-gray-400 text-sm">@johndoe</p>
            </div>
        </div>
        <p class="text-gray-700 dark:text-gray-300 mb-4">This is a sample text for the media component, showcasing a retro design that brings back memories from the 80s and 90s.</p>
        <a href="#" class="text-blue-500 hover:text-blue-700 dark:hover:text-blue-400 font-semibold">Read More</a>
    </div>
</div>

相关组件

媒体组件 Component Component

一个复杂、响应迅速、兼容深色模式的社交媒体组件,具有 Glassmorphism 风格,使用鲜艳的色彩。

打开

媒体组件 组件 39

一个设计有暗模式UI的媒体组件,采用响应式效果和支持暗主题的Tailwind CSS。

打开

复古媒体组件

一个具有复古风格的响应式媒体组件,支持暗模式。

打开