Modern Feedback 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>Modern Feedback Form</title> <style> body { font-family: 'Arial', sans-serif; background: linear-gradient(to right, #1c92d2, #f2fcfe); height: 100vh; display: flex; justify-content: center; align-items: center; margin: 0; } .form-container { background: rgba(255, 255, 255, 0.9); padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 350px; position: relative; } .form-container::before, .form-container::after { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 10px; top: 0; left: 0; animation: glowing 1.5s infinite; } .form-container::before { filter: blur(8px); } .form-container::after { filter: blur(4px); } @keyframes glowing { 0% { box-shadow: 0 0 5px #1c92d2, 0 0 10px #1c92d2, 0 0 20px #1c92d2, 0 0 40px #f2fcfe, 0 0 80px #f2fcfe; } 100% { box-shadow: 0 0 5px #f2fcfe, 0 0 10px #f2fcfe, 0 0 20px #f2fcfe, 0 0 40px #1c92d2, 0 0 80px #1c92d2; } } fieldset { border: 2px solid #1c92d2; border-radius: 10px; padding: 20px; position: relative; background: #fff; z-index: 1; } legend { font-size: 1.5em; color: #1c92d2; font-weight: bold; } .input-group { margin-bottom: 15px; position: relative; } .input-group input, .input-group textarea { width: 92%; padding: 10px; border: 2px solid #1c92d2; border-radius: 5px; outline: none; transition: border-color 0.3s; } .input-group input:focus, .input-group textarea:focus { border-color: #f2fcfe; } .form-button { background: linear-gradient(to right, #1c92d2, #f2fcfe); border: none; padding: 10px 20px; border-radius: 5px; color: #fff; font-size: 1em; cursor: pointer; transition: background 0.3s; width: 100%; text-align: center; } .form-button:hover { background: linear-gradient(to right, #f2fcfe, #1c92d2); } </style> </head> <body> <div class="form-container"> <fieldset> <legend>Modern Feedback Form</legend> <div class="input-group"> <input type="text" id="fullname" placeholder="Full Name"> </div> <div class="input-group"> <input type="email" id="email" placeholder="Email"> </div> <div class="input-group"> <textarea id="feedback" placeholder="Your Feedback"></textarea> </div> <button class="form-button">Submit</button> </fieldset> </div> </body> </html>