Neon Feedback - 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"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> <title>Neon Feedback</title> <style> @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap'); body { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); font-family: 'Rubik', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .feedback-form-container { background: #0d0d0d; border-radius: 20px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); width: 400px; max-width: 100%; padding: 25px; animation: neonGlow 1s ease-in-out infinite alternate; } .feedback-form-container h2 { text-align: center; color: #fff; margin-bottom: 15px; } .feedback-form-container form { display: flex; flex-direction: column; } .feedback-form-container form .form-group { margin-bottom: 15px; position: relative; } .feedback-form-container form .form-group input, .feedback-form-container form .form-group textarea { width: 92%; padding: 14px; border: none; border-radius: 15px; outline: none; background: #222; color: #fff; } .feedback-form-container form .form-group i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #ff6ec7; } .feedback-form-container form button { background: #ff6ec7; color: #fff; padding: 12px; border: none; border-radius: 15px; cursor: pointer; transition: background 0.3s; } .feedback-form-container form button:hover { background: #ff3e9d; } @keyframes neonGlow { from { box-shadow: 0 0 10px #ff6ec7, 0 0 20px #ff6ec7, 0 0 30px #ff6ec7, 0 0 40px #ff6ec7, 0 0 50px #ff6ec7, 0 0 60px #ff6ec7, 0 0 70px #ff6ec7; } to { box-shadow: 0 0 20px #ff6ec7, 0 0 30px #ff6ec7, 0 0 40px #ff6ec7, 0 0 50px #ff6ec7, 0 0 60px #ff6ec7, 0 0 70px #ff6ec7, 0 0 80px #ff6ec7; } } </style> </head> <body> <div class="feedback-form-container"> <h2>Neon Feedback</h2> <form id="neonFeedbackForm"> <div class="form-group"> <input type="text" id="name" placeholder="Your Name" required> <i class="fa fa-user"></i> </div> <div class="form-group"> <input type="email" id="email" placeholder="Your Email" required> <i class="fa fa-envelope"></i> </div> <div class="form-group"> <textarea id="message" rows="4" placeholder="Your Feedback" required></textarea> <i class="fa fa-comment"></i> </div> <button type="submit">Submit Feedback</button> </form> </div> <script src="https://kit.fontawesome.com/a076d05399.js"></script> <script> document.getElementById('neonFeedbackForm').addEventListener('submit', function(event) { event.preventDefault(); alert('Thank you for your neon feedback!'); }); </script> </body> </html>