组件 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°查看器组件,具有高对比度和不寻常的布局,支持深色主题和响应式设计效果。

打开

360 观看器组件

一个支持暗模式和响应式设计的360°查看器组件,使用Tailwind CSS构建。不需要JavaScript,仅使用CSS进行样式和响应。

打开

360° 查看器组件

一种使用玻璃体设计风格的360°查看器组件,具有响应式效果和黑暗主题支持。

打开