组件 360° 查看器 复古360度查看器

复古360度查看器

复古的 360° 查看组件,具有响应效果和使用 Tailwind CSS 的暗主题支持。使用来自 picsum.photos 的占位符图像。

预览

HTML 代码

<div class="bg-gray-200 dark:bg-gray-800 p-6 rounded-lg">
  <div class="relative" style="padding-top: 56.25%;">
    <img src="https://picsum.photos/600/400" alt="360 degree view" class="absolute top-0 left-0 w-full h-full object-cover rounded-lg">
    <div class="absolute inset-0 flex items-center justify-center">
      <div class="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-200 py-2 px-4 rounded-full text-sm font-bold">
        Retro 360° Viewer
      </div>
    </div>
  </div>
  <div class="flex justify-center space-x-4 mt-4">
    <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full text-xs">
      &lt; Previous
    </button>
    <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full text-xs">
      Next &gt;
    </button>
  </div>
</div>

相关组件

360° 查看器组件

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

打开

360° 观看组件

一个具有玻璃质感风格的360°查看器组件,具有磨砂玻璃般的半透明元素和模糊效果,支持响应式设计和暗黑主题。

打开

360° 查看组件

一个简单的360°查看器组件,采用材料设计风格,具有土壤色调,适用于电子商务环境。它包括响应式设计,支持暗模式,展示来自picsum.photos的图片和来自randomuser.me的头像。

打开