WEBLEB
होम
संपादक
लॉग इन करें
Pro
हिंदी
English
Français
Español
Português
Deutsch
Italiano
हिंदी
ग्लासी लॉगिन और रजिस्टर पैनल TheDoc से
312
TheDoc
संपादक में खोलें
अपना कोड प्रकाशित करें
अनुशंसित
5 July 2025
ग्लासी लॉगिन और रजिस्टर पैनल V3 TheDoc से
21 August 2025
हृदय रोग विशेषज्ञ डॉ. यिलमाज़: हृदय देखभाल और हृदय रोग सेवाएँ
22 June 2025
क्रिएटिव ब्लॉग: डिज़ाइन, पॉडकास्ट और पोर्टफोलियो HTML
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: #21e675; 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.15); color: #fff; font-size: 1rem; outline: none; } input::placeholder { color: #bdbdbd; } button { padding: 0.75rem; border-radius: 8px; border: none; background: linear-gradient(90deg, #21e675 0%, #1b5e20 100%); color: #fff; font-weight: bold; font-size: 1rem; cursor: pointer; transition: background 0.2s; } button:hover { background: linear-gradient(90deg, #1b5e20 0%, #21e675 100%); } p { color: #bdbdbd; text-align: center; margin-top: 1rem; } a { color: #21e675; 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'); };