WEBLEB
होम
संपादक
लॉग इन करें
Pro
हिंदी
English
Français
Español
Português
Deutsch
Italiano
हिंदी
ग्लासी लॉगिन और रजिस्टर पैनल V2 TheDoc से
515
TheDoc
संपादक में खोलें
अपना कोड प्रकाशित करें
अनुशंसित
23 August 2025
तकनीकी समाधान: वेब, ऐप, क्लाउड, एआई और साइबर सुरक्षा
7 August 2025
एनिमेटेड टेक्स्ट और आइकन के साथ स्टाइलिश CSS बटन
27 September 2025
आकृतियों और पाठ के साथ 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: #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'); };