Contact Us - 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>Contact Us</title> <style> body { font-family: 'Arial', sans-serif; background: linear-gradient(to right, #4e54c8, #8f94fb); 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 #4e54c8, 0 0 10px #4e54c8, 0 0 20px #4e54c8, 0 0 40px #8f94fb, 0 0 80px #8f94fb; } 100% { box-shadow: 0 0 5px #8f94fb, 0 0 10px #8f94fb, 0 0 20px #8f94fb, 0 0 40px #4e54c8, 0 0 80px #4e54c8; } } fieldset { border: 2px solid #4e54c8; border-radius: 10px; padding: 20px; position: relative; background: #fff; z-index: 1; } legend { font-size: 1.5em; color: #8f94fb; font-weight: bold; } .input-group { margin-bottom: 15px; position: relative; } .input-group input, .input-group textarea { width: 92%; padding: 10px; border: 2px solid #4e54c8; border-radius: 5px; outline: none; /* margin-top: 10px; */ transition: border-color 0.3s; } .input-group input:focus, .input-group textarea:focus { border-color: #8f94fb; } .form-button { background: linear-gradient(to right, #4e54c8, #8f94fb); 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, #8f94fb, #4e54c8); } </style> </head> <body> <div class="form-container"> <fieldset> <legend>Contact Us</legend> <div class="input-group"> <input type="text" id="name" placeholder="Your Name"> </div> <div class="input-group"> <input type="email" id="email" placeholder="Your Email"> </div> <div class="input-group"> <textarea id="message" placeholder="Your Message"></textarea> </div> <button class="form-button">Send Message</button> </fieldset> </div> </body> </html>