组件 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_Viewer_Component_Brutalism_Grayscale

一个复杂的 360° 查看器组件,专为仪表板应用程序设计,具有野兽派的灰度美学。具有原始、大胆的对比和互动元素,完全响应,支持深色模式。

打开

360_viewer_component

一个复杂的 360° 产品查看器组件,具有工业、原始的美感,使用紫色/紫色配色方案,适用于投资组合。具有交互式元素、响应式设计和深色模式支持。

打开

360 观看器组件

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

打开