WEBLEB
Início
Editor
Entrar
Pro
Português
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Painel de login e registro Glassy V3 da TheDoc
514
TheDoc
Abrir no Editor
Publique Seu Código
Recomendado
13 June 2025
site
10 April 2025
Um código de cleanbug411
23 November 2024
Efeito de pairar no ícone
HTML
Copy
Login & Register Panel
Login
Login
No account yet?
Register
Register
Register
Already have an account?
Login
TheDoc
CSS
Copy
body { min-height: 100vh; background: linear-gradient(135deg, #232526 0%, #414345 100%); display: flex; align-items: center; justify-content: center; font-family: 'Segoe UI', Arial, sans-serif; } .container { display: flex; flex-direction: column; align-items: center; } .panel { background: rgba(34, 40, 49, 0.6); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); backdrop-filter: blur(8px); border-radius: 20px; border: 1px solid rgba(255,255,255,0.18); padding: 2rem 2.5rem; min-width: 320px; margin: 1rem 0; display: none; } .panel.active { display: block; } h2 { color: #2196f3; /* blue */ margin-bottom: 1.5rem; text-align: center; } form { display: flex; flex-direction: column; gap: 1rem; } input { padding: 0.75rem; border-radius: 8px; border: none; background: rgba(255,255,255,0.10); color: #fff; font-size: 1rem; outline: none; } input::placeholder { color: #bdbdbd; } button { padding: 0.75rem; border-radius: 8px; border: none; background: linear-gradient(90deg, #2196f3 0%, #232526 100%); color: #fff; font-weight: bold; font-size: 1rem; cursor: pointer; transition: background 0.2s; } button:hover { background: linear-gradient(90deg, #232526 0%, #2196f3 100%); } p { color: #bdbdbd; text-align: center; margin-top: 1rem; } a { color: #2196f3; text-decoration: none; font-weight: bold; cursor: pointer; } a:hover { text-decoration: underline; } .hidden-doc { display: none; }
JS
Copy
document.getElementById('show-register').onclick = function(e) { e.preventDefault(); document.getElementById('login-panel').classList.remove('active'); document.getElementById('register-panel').classList.add('active'); }; document.getElementById('show-login').onclick = function(e) { e.preventDefault(); document.getElementById('register-panel').classList.remove('active'); document.getElementById('login-panel').classList.add('active'); };