Auth Bliss - 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>Auth Bliss - CSS Mobile Friendly Auth</title> <style> body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #ff7e5f, #feb47b); display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; } .auth-container { background: #fff; border-radius: 15px; box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1); padding: 30px; width: 100%; max-width: 400px; animation: slideIn 1s ease-out; } @keyframes slideIn { 0% { opacity: 0; transform: translateY(100px); } 100% { opacity: 1; transform: translateY(0); } } .auth-header { text-align: center; font-size: 2rem; margin-bottom: 20px; color: #333; position: relative; } .auth-header::after { content: ""; position: absolute; right: -30px; top: 10px; font-size: 1.5rem; animation: bounce 1.5s infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .auth-input { width: 95%; padding: 10px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; transition: border-color 0.3s; } .auth-input:focus { border-color: #ff7e5f; outline: none; } .auth-button { width: 100%; padding: 10px; border: none; border-radius: 5px; background: #ff7e5f; color: #fff; font-size: 1rem; cursor: pointer; transition: background 0.3s, transform 0.3s; } .auth-button:hover { background: #feb47b; } .auth-button:active { transform: scale(0.95); } .auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: #666; } .auth-footer a { color: #ff7e5f; text-decoration: none; transition: color 0.3s; } .auth-footer a:hover { color: #feb47b; } .auth-icon { display: inline-block; width: 24px; height: 24px; margin-right: 10px; vertical-align: middle; } .emoji { font-size: 1.5rem; animation: rotate 2s infinite; } @keyframes rotate { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(360deg); } } </style> </head> <body> <div class="auth-container"> <div class="auth-header"> Auth Bliss <span class="emoji">🔐</span> </div> <form> <input type="email" class="auth-input" placeholder="Email" required> <input type="password" class="auth-input" placeholder="Password" required> <button type="submit" class="auth-button">Login</button> </form> <div class="auth-footer"> <p>Don't have an account? <a href="#">Sign up</a></p> </div> </div> <script> document.querySelector('form').addEventListener('submit', function(event) { event.preventDefault(); alert('Logged in successfully!'); }); </script> </body> </html>