Registration 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>Registration Form</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"> <style> body { margin: 0; height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, #3a7bd5 0%, #3a6073 100%); font-family: 'Arial', sans-serif; } .form-container { background: rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 30px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); animation: zoomIn 1.5s ease-out; max-width: 400px; width: 100%; } .form-header { text-align: center; margin-bottom: 20px; } .form-header h2 { color: #fff; font-size: 1.8rem; margin: 0; } .form-group { position: relative; margin-bottom: 20px; } .form-group input { width: 93%; padding: 10px 15px; border: none; border-radius: 5px; background: rgba(255, 255, 255, 0.5); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); color: #333; font-size: 1rem; outline: none; } .form-group input::placeholder { color: #888; } .form-group i { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #888; } .submit-btn { display: block; width: 100%; padding: 10px 0; border: none; border-radius: 5px; background: linear-gradient(135deg, #16a085 0%, #f4d03f 100%); color: #fff; font-size: 1rem; cursor: pointer; transition: background 0.3s; } .submit-btn:hover { background: linear-gradient(135deg, #f4d03f 0%, #16a085 100%); } @keyframes zoomIn { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } } </style> </head> <body> <div class="form-container"> <div class="form-header"> <h2>Register</h2> </div> <form> <div class="form-group"> <input type="text" placeholder="Username"> </div> <div class="form-group"> <input type="email" placeholder="Email"> </div> <div class="form-group"> <input type="password" placeholder="Password"> </div> <div class="form-group"> <input type="password" placeholder="Confirm Password"> </div> <button type="submit" class="submit-btn">Sign Up</button> </form> </div> </body> </html>