Auth Radiance - 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 Radiance - CSS Mobile Friendly Auth</title> <style> body { margin: 0; font-family: 'Verdana', sans-serif; background: linear-gradient(to right, #ff9966, #ff5e62); display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; } .auth-container { background: #fff; border-radius: 20px; box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2); padding: 40px; width: 100%; max-width: 400px; animation: pulse 1.5s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2); } 50% { transform: scale(1.02); box-shadow: 0 25px 35px rgba(0, 0, 0, 0.25); } } .auth-header { text-align: center; font-size: 2.2rem; margin-bottom: 25px; color: #ff5e62; position: relative; } .auth-header::after { content: ""; position: absolute; right: -40px; top: 10px; font-size: 2rem; animation: sparkle 1s infinite; } @keyframes sparkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } } .auth-input { width: 95%; padding: 12px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 10px; font-size: 1rem; transition: border-color 0.3s; } .auth-input:focus { border-color: #ff9966; outline: none; } .auth-button { width: 100%; padding: 12px; border: none; border-radius: 10px; background: #ff5e62; color: #fff; font-size: 1.1rem; cursor: pointer; transition: background 0.3s, transform 0.3s; } .auth-button:hover { background: #ff9966; } .auth-button:active { transform: scale(0.95); } .auth-footer { text-align: center; margin-top: 20px; font-size: 1rem; color: #666; } .auth-footer a { color: #ff5e62; text-decoration: none; transition: color 0.3s; } .auth-footer a:hover { color: #ff9966; } </style> </head> <body> <div class="auth-container"> <div class="auth-header"> Auth Radiance <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>