|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Enquiry Form</title> |
| 7 | + <style> |
| 8 | + * { |
| 9 | + margin: 0; |
| 10 | + padding: 0; |
| 11 | + box-sizing: border-box; |
| 12 | + } |
| 13 | + |
| 14 | + body { |
| 15 | + font-family: Arial, sans-serif; |
| 16 | + display: flex; |
| 17 | + align-items: center; |
| 18 | + justify-content: center; |
| 19 | + height: 100vh; |
| 20 | + background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); |
| 21 | + } |
| 22 | + |
| 23 | + .form-container { |
| 24 | + background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white */ |
| 25 | + padding: 20px; |
| 26 | + border-radius: 8px; |
| 27 | + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
| 28 | + max-width: 400px; |
| 29 | + width: 100%; |
| 30 | + } |
| 31 | + |
| 32 | + h2 { |
| 33 | + text-align: center; |
| 34 | + color: #333333; |
| 35 | + margin-bottom: 20px; |
| 36 | + } |
| 37 | + |
| 38 | + .form-group { |
| 39 | + margin-bottom: 15px; |
| 40 | + } |
| 41 | + |
| 42 | + label { |
| 43 | + display: block; |
| 44 | + font-weight: bold; |
| 45 | + margin-bottom: 5px; |
| 46 | + color: #555555; |
| 47 | + } |
| 48 | + |
| 49 | + input[type="text"], |
| 50 | + input[type="tel"], |
| 51 | + input[type="email"] { |
| 52 | + width: 100%; |
| 53 | + padding: 10px; |
| 54 | + border: 1px solid #dddddd; |
| 55 | + border-radius: 4px; |
| 56 | + font-size: 16px; |
| 57 | + } |
| 58 | + |
| 59 | + input[type="text"]:focus, |
| 60 | + input[type="tel"]:focus, |
| 61 | + input[type="email"]:focus { |
| 62 | + border-color: #6c63ff; |
| 63 | + outline: none; |
| 64 | + } |
| 65 | + |
| 66 | + input[type="submit"] { |
| 67 | + width: 100%; |
| 68 | + padding: 10px; |
| 69 | + background-color: #6c63ff; |
| 70 | + border: none; |
| 71 | + border-radius: 4px; |
| 72 | + color: #ffffff; |
| 73 | + font-size: 16px; |
| 74 | + cursor: pointer; |
| 75 | + transition: background-color 0.3s ease; |
| 76 | + } |
| 77 | + |
| 78 | + input[type="submit"]:hover { |
| 79 | + background-color: #5a53d6; |
| 80 | + } |
| 81 | + |
| 82 | + </style> |
| 83 | +</head> |
| 84 | +<body> |
| 85 | + <div class="form-container"> |
| 86 | + <h2>Enquiry Form</h2> |
| 87 | + <center style="color: blue;" > |
| 88 | + <h4>As soon as you submit the form our team will get in touch with you and provide you all the informations about the properties.</h4> |
| 89 | + </center> |
| 90 | + <br> |
| 91 | + <form action="/submit-enquiry" method="post"> |
| 92 | + <div class="form-group"> |
| 93 | + <label for="name">Name</label> |
| 94 | + <input type="text" id="name" name="name" required> |
| 95 | + </div> |
| 96 | + |
| 97 | + <div class="form-group"> |
| 98 | + <label for="phone">Phone Number</label> |
| 99 | + <input type="tel" id="phone" name="phone" required> |
| 100 | + </div> |
| 101 | + |
| 102 | + <div class="form-group"> |
| 103 | + <label for="email">Email Address</label> |
| 104 | + <input type="email" id="email" name="email" required> |
| 105 | + </div> |
| 106 | + |
| 107 | + <div class="form-group"> |
| 108 | + <label for="instagram">Instagram Account (optional)</label> |
| 109 | + <input type="text" id="instagram" name="instagram"> |
| 110 | + </div> |
| 111 | + |
| 112 | + <input type="submit" value="Submit"> |
| 113 | + </form> |
| 114 | + </div> |
| 115 | +</body> |
| 116 | +</html> |
0 commit comments