媒体组件 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>

相关组件

Bauhaus 类比媒体组件

具有包豪斯风格设计的响应式媒体组件,使用类似的配色方案,适用于政府/公共服务网站。具有几何形式、原色相似色和深色模式支持。

打开

拟物化媒体组件

受拟物化启发的媒体组件,使用单色配色方案和复杂复杂度级别,为博客/内容目的量身定制。功能包括响应式设计和深色主题支持,无需 JavaScript。

打开

媒体组件 Component Component

用于电子商务的媒体组件,具有微交互、灰度配色方案、中等复杂性、响应式设计和深色主题支持。

打开