Cartoon Style 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>Cartoon Style Login Form</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #ffe57f; font-family: 'Comic Sans MS', cursive, sans-serif; margin: 0; } .login-container { background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); width: 360px; max-width: 100%; padding: 2rem; text-align: center; animation: bounceIn 1s ease-in-out; } .login-container h1 { font-size: 2rem; margin-bottom: 1.5rem; color: #ff6f00; } .input-group { margin-bottom: 1.5rem; } .input-group input { width: 80%; padding: 1rem; border-radius: 5px; border: 1px solid #ccc; font-size: 1rem; outline: none; } .login-btn { background: #ff6f00; border: none; border-radius: 5px; color: white; padding: 1rem; width: 90%; font-size: 1rem; cursor: pointer; transition: background 0.3s; } .login-btn:hover { background: #e65c00; } .social-login { display: flex; justify-content: center; margin-top: 1rem; } .social-login a { background: #f0f0f0; border-radius: 5px; margin: 0 5px; padding: 10px; display: inline-block; transition: transform 0.3s; color: #e65c00; } .social-login a:hover { transform: scale(1.1); } @keyframes bounceIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } } </style> </head> <body> <div class="login-container"> <h1>Login <span>🎉</span></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="fa fa-facebook-f"></i></a> <a href="#" title="Google"><i class="fa fa-google"></i></a> <a href="#" title="Twitter"><i class="fa fa-twitter"></i></a> </div> </div> <script src="https://kit.fontawesome.com/f2c67a1c6b.js" crossorigin="anonymous"></script> </body> </html>