Glassmorphism Sign Up 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>Glassmorphism Sign-Up Form</title> <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap'); body, html { margin: 0; padding: 0; height: 100%; font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #71b7e6, #9b59b6); display: flex; justify-content: center; align-items: center; background-attachment: fixed; } .signup-form { background: rgba(255, 255, 255, 0.2); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); padding: 30px; width: 350px; text-align: center; } .signup-form h2 { font-size: 2em; margin-bottom: 20px; color: #fff; } .signup-form .input-group { margin-bottom: 15px; position: relative; } .signup-form .input-group input { width: 80%; height: 45px; padding-left: 5%; border: none; border-radius: 30px; background: rgba(255, 255, 255, 0.2); color: #fff; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: 0.3s; } .signup-form .input-group input:focus { outline: none; background: rgba(255, 255, 255, 0.3); } .signup-form .btn { background: #ff6f61; color: #fff; border: none; padding: 15px 30px; border-radius: 30px; cursor: pointer; transition: 0.3s; display: inline-block; font-size: 1em; } .signup-form .btn:hover { background: #ff3f3f; } </style> </head> <body> <div class="signup-form"> <h2>Glassmorphism Sign Up</h2> <form> <div class="input-group"> <input type="text" placeholder="Username" required> </div> <div class="input-group"> <input type="email" placeholder="Email" required> </div> <div class="input-group"> <input type="password" placeholder="Password" required> </div> <div class="input-group"> <input type="password" placeholder="Confirm Password" required> </div> <button type="submit" class="btn">Sign Up</button> </form> </div> </body> </html>