组件 CAPTCHA 验证码 黑暗模式验证码组件

黑暗模式验证码组件

一个为暗模式UI设计的CAPTCHA组件,具有响应式效果和黑暗主题支持。

预览

HTML 代码

<div class="bg-gray-800 text-white p-6 rounded-lg shadow-lg max-w-md mx-auto">
    <h2 class="text-lg font-semibold mb-4">Verify You're Human</h2>
    <div class="flex items-center mb-4">
        <img src="https://picsum.photos/50/50" alt="Random Image" class="w-12 h-12 rounded-full mr-3" />
        <span class="flex-1 text-sm">Please identify the image below:</span>
    </div>
    <div class="mb-4">
        <img src="https://picsum.photos/250/150" alt="CAPTCHA Image" class="w-full h-auto rounded-md" />
    </div>
    <div class="flex space-x-4">
        <button class="bg-blue-600 hover:bg-blue-500 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Verify</button>
        <button class="bg-gray-500 hover:bg-gray-400 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Refresh</button>
    </div>
</div>

相关组件

验证码组件

一个响应式的CAPTCHA组件,受到Material Design的启发,支持暗模式,使用Tailwind CSS。

打开

验证码组件

一个简约/扁平化设计的CAPTCHA组件,适合展示作品,响应式,并支持深色模式。

打开

CAPTCHA 组件

具有三元配色方案的 Glassmorphism 风格的 CAPTCHA 组件,适用于社交媒体平台。具有具有模糊效果的磨砂玻璃状半透明元素,具有中等复杂度和一些交互式功能。该设计是响应式的,并包括深色模式支持。

打开