Glassy 3d 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>Glassy 3D Login Form</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #d3cce3; background: -webkit-linear-gradient(to right, #e9e4f0, #d3cce3); background: linear-gradient(to right, #e9e4f0, #d3cce3); font-family: 'Arial', sans-serif; margin: 0; } .login-container { background: rgba(255, 255, 255, 0.9); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); width: 360px; max-width: 100%; padding: 2rem; text-align: center; position: relative; transform-style: preserve-3d; transform: perspective(1000px) rotateY(20deg); transition: transform 0.5s ease-in-out; } .login-container:hover { transform: perspective(1000px) rotateY(0deg); } .login-container h1 { font-size: 2rem; margin-bottom: 1.5rem; color: #333; } .input-group { margin-bottom: 1.5rem; } .input-group input { width: 80%; padding: 1rem; border-radius: 5px; border: 1px solid #ddd; font-size: 1rem; outline: none; background: rgba(255, 255, 255, 0.7); color: #333; transition: box-shadow 0.3s, transform 0.3s; } .input-group input:focus { box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); transform: scale(1.01); } .login-btn { background: #3498db; border: none; border-radius: 5px; color: #fff; padding: 1rem; width: 90%; font-size: 1rem; cursor: pointer; transition: background 0.3s; } .login-btn:hover { background: #2980b9; } </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>