diff --git a/contact.html b/contact.html index c5df49cb..1d7f95e6 100644 --- a/contact.html +++ b/contact.html @@ -65,6 +65,7 @@ max-width: 100%; height: auto; max-height: 500px; + margin-top: 60px; } .form-group { @@ -121,6 +122,34 @@ min-width: 100%; } } + /* .form-group { + position: relative; +} */ + +.tooltip { + visibility: hidden; + background-color: black; + color: #fff; + width: 200px; + text-align: center; + padding: 3px; + border-radius: 5px; + position: absolute; + z-index: 1; + /* bottom: 30%; Position above the input field */ + top: 41%; + left: 60%; + transform: translateX(-50%); + opacity: 0; + transition: opacity 0.3s; + font-size: 12px; +} + +.form-group:hover .tooltip { + visibility: visible; + opacity: 1; +} + @@ -168,22 +197,26 @@

Contact Us

- + +
Please enter your full name here.
- + +
Please enter a valid email like example@mail.com.
- + +
Please enter your phone number(10 digits).
- + +
Feel free to describe your message in detail.