组件 360° 查看器 360° 查看组件

360° 查看组件

一个简单的响应式360°查看器组件,采用玻璃主义风格和粉彩色方案,适用于博客内容消费,支持暗模式。

预览

HTML 代码

<div class="flex flex-col items-center justify-center bg-white dark:bg-gray-800 p-8 rounded-lg shadow-lg backdrop-blur-lg bg-opacity-50">
    <h2 class="text-2xl font-bold text-gray-900 dark:text-gray-100 mb-4">360° Viewer</h2>
    <div class="relative w-full h-64 rounded-lg overflow-hidden">
        <img src="https://picsum.photos/500/300?random=1" alt="360° image viewer" class="object-cover w-full h-full rounded-lg" />
        <div class="absolute inset-0 flex items-center justify-center bg-white bg-opacity-30 dark:bg-gray-700 dark:bg-opacity-30 rounded-lg"> 
            <span class="text-lg font-semibold text-gray-900 dark:text-gray-100">Interact with the image</span>
        </div>
    </div>
    <div class="mt-4">
        <h3 class="text-lg font-medium text-gray-700 dark:text-gray-300">User Profile</h3>
        <div class="flex items-center mt-2">
            <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-white dark:border-gray-800" />
            <span class="ml-3 text-base text-gray-900 dark:text-gray-100">John Doe</span>
        </div>
    </div>
</div>

相关组件

360 查看器组件

一个 360 度查看器组件,采用 Glassmorphism 设计、单色配色方案和适度的复杂度。它专为博客/内容目的而设计,响应式,并支持使用 Tailwind CSS 的深色模式。不包含 JavaScript,仅包含带有 Tailwind 类的 HTML。将 picsum.photos 用于图像。

打开

360° 查看器组件

一个具备拟物化设计的 360° 观察组件,使用 Tailwind CSS,支持响应效果和暗黑主题。

打开

360_Viewer_Component_Retro_Rainbow_Simple_Ecommerce

一个用于电子商务的简单复古主题 360 度查看器组件,具有彩虹渐变、响应式设计和深色模式支持。旨在唤起 80 年代/90 年代的怀旧之情。

打开