3d Effect 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 Effect Login Form</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #282c34; font-family: 'Arial', sans-serif; margin: 0; perspective: 1000px; } .login-container { background: #61dafb; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 360px; max-width: 100%; padding: 2rem; text-align: center; transform: rotateY(20deg); animation: rotateIn 1s ease-in-out; } .login-container h1 { font-size: 2rem; margin-bottom: 1.5rem; color: #282c34; } .input-group { margin-bottom: 1.5rem; } .input-group input { width: 80%; padding: 1rem; border-radius: 5px; border: 1px solid #444; font-size: 1rem; outline: none; background: #fff; color: #282c34; } .login-btn { background: #282c34; border: none; border-radius: 5px; color: #61dafb; padding: 1rem; width: 90%; font-size: 1rem; cursor: pointer; transition: background 0.3s; } .login-btn:hover { background: #000; } .social-login { display: flex; justify-content: center; margin-top: 1rem; } .social-login a { background: #444; border-radius: 5px; margin: 0 5px; padding: 10px; display: inline-block; transition: transform 0.3s; box-shadow: 0 0 10px #61dafb; color: #61dafb; } .social-login a:hover { transform: scale(1.1); } @keyframes rotateIn { from { opacity: 0; transform: rotateY(-90deg); } to { opacity: 1; transform: rotateY(20deg); } } </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 class="social-login"> <a href="#" title="Facebook"><i class="fab fa-facebook-f"></i></a> <a href="#" title="Google"><i class="fab fa-google"></i></a> <a href="#" title="Twitter"><i class="fab fa-twitter"></i></a> </div> </div> <script src="https://kit.fontawesome.com/f2c67a1c6b.js" crossorigin="anonymous"></script> </body> </html>