媒体组件

一个响应式媒体组件,灵感来自复古/经典设计风格,具有80年代/90年代的怀旧美感。它支持深色主题,使用Tailwind CSS,并包含占位符图像和头像。

预览

HTML 代码

<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 max-w-sm mx-auto">
    <img class="rounded-lg w-full h-48 object-cover mb-4" src="https://picsum.photos/seed/media/400/200" alt="Media Thumbnail">
    <h2 class="text-2xl font-bold mb-2 text-gray-800 dark:text-gray-200">Retro Media Title</h2>
    <p class="text-gray-600 dark:text-gray-400 mb-4">This is a brief description of the media component, capturing the essence of the nostalgia from the 80s and 90s.</p>
    <div class="flex items-center">
        <img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
        <div>
            <p class="text-gray-800 dark:text-gray-200 font-semibold">User Name</p>
            <p class="text-gray-500 dark:text-gray-400 text-sm">Posted on March 1, 2023</p>
        </div>
    </div>
</div>

相关组件

简单的仿生学电子商务媒体组件

Neumorphism风格的媒体组件,采用大地色调,简单复杂度,适用于电子商务网站,具有响应式设计和深色主题支持。使用picsum.photos作为图片源。

打开

Playful_Booking_Media_Component

用于预订/预订系统的简单、有趣且响应迅速的媒体组件,具有三色配色方案、圆角元素和深色模式支持。

打开

媒体组件 组件 39

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

打开