3d Metallic Login Form - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>3D Metallic Login Form</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #3a3a3a; font-family: 'Arial', sans-serif; margin: 0; } .login-container { position: relative; background: linear-gradient(145deg, #2c3e50, #bdc3c7); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); width: 360px; max-width: 100%; padding: 2rem; text-align: center; transform-style: preserve-3d; transform: perspective(1000px) rotateX(10deg) rotateY(-15deg); transition: transform 0.5s ease-in-out; } .login-container:hover { transform: perspective(1000px) rotateX(0deg) rotateY(0deg); } .login-container h1 { font-size: 2rem; margin-bottom: 1.5rem; color: #fff; } .input-group { margin-bottom: 1.5rem; } .input-group input { width: 80%; padding: 1rem; border-radius: 5px; border: 1px solid #bdc3c7; font-size: 1rem; outline: none; background: #2c3e50; color: #bdc3c7; transition: box-shadow 0.3s, transform 0.3s; } .input-group input:focus { box-shadow: 0 0 10px rgba(189, 195, 199, 0.5); transform: scale(1.05); } .login-btn { background: #2980b9; border: none; border-radius: 5px; color: #fff; padding: 1rem; width: 90%; font-size: 1rem; cursor: pointer; transition: background 0.3s; } .login-btn:hover { background: #3498db; } </style> </head> <body> <div class="login-container"> <h1>🔐 Login</h1> <div class="input-group"> <input type="text" placeholder="Username" required> </div> <div class="input-group"> <input type="password" placeholder="Password" required> </div> <button type="button" class="login-btn">Login</button> </div> </body> </html>