Auth Enigma - 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 Enigma - CSS Mobile Friendly Auth</title> <style> body { margin: 0; font-family: 'Courier New', monospace; background: linear-gradient(45deg, #ff4e50, #f9d423); display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; } .auth-container { background: #222; border-radius: 15px; box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3); padding: 30px; width: 100%; max-width: 400px; animation: zoomIn 1s ease-out; } @keyframes zoomIn { from { transform: scale(0); } to { transform: scale(1); } } .auth-header { text-align: center; font-size: 2rem; margin-bottom: 20px; color: #f9d423; position: relative; } .auth-header::after { content: ""; position: absolute; right: -30px; top: 10px; font-size: 1.5rem; animation: float 2s infinite; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .auth-input { width: 95%; padding: 10px; margin-bottom: 20px; border: 1px solid #555; border-radius: 5px; background: #333; color: #fff; font-size: 1rem; transition: border-color 0.3s; } .auth-input:focus { border-color: #f9d423; outline: none; } .auth-button { width: 100%; padding: 10px; border: none; border-radius: 5px; background: #ff4e50; color: #fff; font-size: 1rem; cursor: pointer; transition: background 0.3s, transform 0.3s; } .auth-button:hover { background: #f9d423; } .auth-button:active { transform: scale(0.95); } .auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: #999; } .auth-footer a { color: #f9d423; text-decoration: none; transition: color 0.3s; } .auth-footer a:hover { color: #ff4e50; } </style> </head> <body> <div class="auth-container"> <div class="auth-header"> Auth Enigma <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>