组件 地图 3D 地图组件

3D 地图组件

响应式 3D 地图组件,支持黑暗模式,适用于商业网站。

预览

HTML 代码

<section class="py-10 text-gray-700 bg-gray-100 dark:bg-gray-800 dark:text-gray-300">
      <div class="map-container container mx-auto px-4 relative" style="perspective: 1000px;">
        <div class="map-element" style="transform: rotateX(20deg) rotateZ(-10deg);">
          <!-- Replace with an actual map embed or a static image that looks like a map -->
          <img src="https://picsum.photos/seed/map/800/600" alt="Company Location Map" class="w-full h-auto shadow-lg rounded-lg">
        </div>
        <div class="map-overlay absolute top-0 left-0 w-full h-full flex items-center justify-center">
          <div class="bg-white dark:bg-gray-900 p-6 rounded-lg shadow-xl text-center" style="transform: translateZ(50px);">
            <h3 class="text-xl font-bold mb-2">Find Us</h3>
            <p class="text-gray-600 dark:text-gray-400">123 Business St, Corporate City</p>
            <a href="#" class="mt-4 inline-block bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded">Get Directions</a>
          </div>
        </div>
      </div>
    </section>

相关组件

地图组件

地图组件,具有拟物化设计、三色配色方案、中等复杂程度,适用于社交媒体目的。采用Tailwind CSS进行响应式设计,支持暗主题。

打开

Glassmorphism Maps 组件

用于社交媒体的 Glassmorphism Maps 组件

打开

粗糙主义仪表板地图组件

一个野兽派风格的仪表板地图组件,具有鲜艳的色彩、高对比度、复杂的交互式元素、响应式设计和使用 Tailwind CSS 的深色主题支持。

打开