WEBLEB
होम
संपादक
लॉग इन करें
Pro
हिंदी
English
Français
Español
Português
Deutsch
Italiano
हिंदी
ग्लासी लॉगिन और रजिस्टर पैनल V3 TheDoc से
517
TheDoc
संपादक में खोलें
अपना कोड प्रकाशित करें
अनुशंसित
22 September 2025
आँकड़ों और अनुकूलन के साथ 3D क्यूब गेम HTML
2 September 2025
YouTube एम्बेड और ग्लिच प्रभाव के साथ HTML टीवी स्क्रीन
14 May 2025
ग्रेडिएंट लॉगिन फॉर्म HTML CSS
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'); };