组件 媒体嵌入 媒体嵌入组件

媒体嵌入组件

一个使用玻璃态设计的响应式媒体嵌入组件,具有用于内容消费的交互元素。

预览

HTML 代码

<div class="flex flex-col items-center p-6 bg-gradient-to-r from-blue-400 to-purple-500 rounded-lg shadow-lg backdrop-filter backdrop-blur-lg bg-opacity-30 dark:bg-opacity-50 border border-white border-opacity-20 max-w-lg w-full">
    <div class="flex items-center mb-4">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-16 h-16 rounded-full border-2 border-white">
        <div class="ml-4">
            <h2 class="text-xl font-semibold text-white">John Doe</h2>
            <p class="text-sm text-gray-200">Content Creator</p>
        </div>
    </div>
    <div class="bg-white dark:bg-gray-800 bg-opacity-20 rounded-lg p-4 shadow-md w-full">
        <h3 class="text-lg font-bold text-white">Exciting New Developments in Technology</h3>
        <iframe class="w-full h-60 mt-3 rounded-lg shadow-inner" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
        <p class="mt-2 text-white">Explore the latest trends and advancements in technology that are shaping the future. Join us as we dive deep into the innovations that are changing our world.</p>
        <div class="mt-3 flex justify-between items-center">
            <button class="py-2 px-4 bg-blue-500 text-white rounded-full hover:bg-blue-600">Read More</button>
            <span class="text-xs text-gray-300">2 hours ago</span>
        </div>
    </div>
    <img src="https://picsum.photos/400/200" alt="Media" class="mt-4 rounded-lg shadow-lg"> 
</div>

相关组件

Brutalist_Retro_Media_Embed_E 商务

一个用于电子商务的复杂、响应式、野兽派风格的媒体嵌入组件,具有高对比度、复古调色板、深色模式支持以及用于产品展示的多个交互式元素。

打开

媒体嵌入组件

一个设计用于电子商务的媒体嵌入组件,具有 3D 设计风格、互补色彩方案和支持暗模式的响应式布局。

打开

媒体嵌入组件

Glassmorphism 媒体嵌入组件,带有 Earth Tones,适用于企业/公司网站。简单的布局、响应式和深色主题支持。

打开