Appointment Booking - 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>Appointment Booking</title> <style> body { font-family: 'Arial', sans-serif; background: linear-gradient(to right, #f12711, #f5af19); 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 #f12711, 0 0 10px #f12711, 0 0 20px #f12711, 0 0 40px #f5af19, 0 0 80px #f5af19; } 100% { box-shadow: 0 0 5px #f5af19, 0 0 10px #f5af19, 0 0 20px #f5af19, 0 0 40px #f12711, 0 0 80px #f12711; } } fieldset { border: 2px solid #f12711; border-radius: 10px; padding: 20px; position: relative; background: #fff; z-index: 1; } legend { font-size: 1.5em; color: #f5af19; font-weight: bold; } .input-group { margin-bottom: 15px; position: relative; } .input-group input { width: 92%; padding: 10px; border: 2px solid #f12711; border-radius: 5px; outline: none; transition: border-color 0.3s; } .input-group input:focus { border-color: #f5af19; } .form-button { background: linear-gradient(to right, #f12711, #f5af19); 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, #f5af19, #f12711); } </style> </head> <body> <div class="form-container"> <fieldset> <legend>Appointment Booking</legend> <div class="input-group"> <input type="text" id="name" placeholder="Your Name"> </div> <div class="input-group"> <input type="date" id="date" placeholder="Preferred Date"> </div> <div class="input-group"> <input type="time" id="time" placeholder="Preferred Time"> </div> <button class="form-button">Book Appointment</button> </fieldset> </div> </body> </html>