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

360° 查看器组件

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

预览

HTML 代码

<div class="flex flex-col items-center justify-center h-screen bg-gray-100 dark:bg-gray-900">
    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8 max-w-md w-full">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4 text-center">360° Viewer</h2>
        <div class="relative w-full h-64 bg-gray-200 dark:bg-gray-700 rounded-lg overflow-hidden shadow-lg">
            <img src="https://picsum.photos/600/400" alt="360° View" class="w-full h-full object-cover rotate-360" />
            <div class="absolute top-0 left-0 w-full h-full flex items-center justify-center">
                <div class="p-2 bg-gray-300 dark:bg-gray-600 rounded-full shadow-lg">
                    <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full border-4 border-white shadow-md" />
                </div>
            </div>
        </div>
        <div class="mt-4 text-center">
            <p class="text-gray-600 dark:text-gray-300">Interact with the 360° view to explore the surroundings.</p>
        </div>
    </div>
</div>

相关组件

360°查看器组件

一个使用 Tailwind CSS 设计的极简主义 360° 查看器组件,具有响应式效果和深色主题支持。

打开

简单的360度查看器(玻璃态灰度)

一个简单的、响应式的360度查看器组件,采用灰阶的玻璃质感设计,适用于电子商务。支持深色模式。

打开

360° 查看器组件

一个简单的 360° 查看器组件,专为电子商务而设计,具有微交互和大地色调配色方案,并支持深色模式。

打开