WEBLEB
Início
Editor
Entrar
Pro
Português
English
Français
Español
Português
Deutsch
Italiano
हिंदी
Painel de login e registro Glassy V2 do TheDoc
513
TheDoc
Abrir no Editor
Publique Seu Código
Recomendado
20 August 2025
Modelo HTML para blog de design moderno
25 March 2025
Um código por andrej.social.network
14 May 2025
Um Código por cyrillsemah
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: #ff3b3f; /* red */ 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, #ff3b3f 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%, #ff3b3f 100%); } p { color: #bdbdbd; text-align: center; margin-top: 1rem; } a { color: #ff3b3f; 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'); };