组件 容器 玻璃摩尔方容器组件

玻璃摩尔方容器组件

具有响应式效果和暗黑主题支持的玻璃态容器组件.

预览

HTML 代码

<div class="flex items-center justify-center min-h-screen from-teal-100 via-teal-300 to-teal-500 bg-gradient-to-br dark:from-gray-700 dark:via-gray-900 dark:to-black">
  <div class="bg-white bg-opacity-10 px-10 py-5 border-r-8 border-t-8 border-opacity-30 border-white
    backdrop-filter backdrop-blur-sm shadow-2xl rounded-md w-full max-w-md hover:scale-105 transition duration-500 ease-in-out dark:bg-gray-900 dark:bg-opacity-10 dark:border-gray-700 dark:border-opacity-30">
    <h1 class="text-3xl font-bold text-gray-900 text-center dark:text-white mb-6">Welcome</h1>
    <p class="text-gray-700 text-center dark:text-gray-300 mb-8">This is a Glassmorphism container component example with responsive effects and dark theme support.</p>
    <div class="flex justify-center">
      <button class="relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-teal-300 to-teal-500 group-hover:from-teal-300 group-hover:to-teal-500 dark:text-white dark:hover:text-gray-900 focus:ring-4 focus:outline-none focus:ring-teal-200 dark:focus:ring-teal-800">
        <span class="relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-opacity-0">
          Get Started
        </span>
      </button>
    </div>
  </div>
</div>

相关组件

容器组件

一个拟物化的作品集容器组件,具有黑暗主题和响应式设计,展示作品和产品,并包含互动元素。

打开

容器组件

一种适合商业/企业网站的3D风格容器组件,具有鲜艳的色彩和交互元素,支持响应式设计和暗黑主题。

打开

容器组件

一种响应式暗黑模式内容容器,具有简单的灰度设计。

打开