Skip to content

Commit

Permalink
Merge pull request #96 from ishitakapoor26/IK
Browse files Browse the repository at this point in the history
Contact Us #82
  • Loading branch information
Harshal0902 authored Jun 19, 2021
2 parents 0f48ed4 + 703f29a commit 64d0559
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 0 deletions.
107 changes: 107 additions & 0 deletions home.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,111 @@ p:before {
box-shadow: 2px 2px 5px rgb(78, 248, 177);
cursor:pointer;
}
/* Contact section start */
.contact{
background-color: var(--black-100);
}
.contact-info h3{
font-size: 22px;
color: var(--black-900);
font-weight: 500;
margin: 0 0 40px;
}
.contact-info-item{
position: relative;
padding-left: 55px;
margin: 30px;
}
.contact-info-item i{
position: absolute;
height: 40px;
width: 40px;
left: 0;
top: 0;
border-radius: 50%;
font-size: 16px;
color: var(--main-color);
border: 1px solid var(--main-color);
text-align: center;
line-height: 38px;
}
.contact-info-item h3{
font-size: 18px;
font-weight: 400;
margin: 0 0 10px;
color: var(--black-900);
}
.contact-info-item p{
font-size: 16px;
font-weight: 300;
margin: 0;
line-height: 26px;
color: var(--black-400);
}
.contact-form .form-group{
margin-bottom: 25px;
}
.contact-form .form-control{
height: 52px;
border: 1px solid transparent;
box-shadow: var(--shadow-black-100);
border-radius: 30px;
padding: 0 24px;
color: var(--black-900);
background-color: var(--black-000);
transition: all 0.5s ease;
}
.contact-form textarea.form-control{
height: 140px;
padding-top: 12px;
resize: none;
}
.contact-form .form-control:focus{
border-color: var(--main-color);
}
.col-lg-6{
margin: 48px 5px 47px -10px;
border: 1px solid black;
background-color: #a2aeec5c;
border-radius: 20px;
margin-bottom: 35px;
}
.php-email-form{
margin: 46px 5px 5px 5px;
}
.text{
margin: 56px 5px 5px 5px;
font-size: 39px;
font-weight: 800;
color: #dcff1e;

}
.img{
margin: 30px 12px 2px 6px;
width: 500px;
}
.text1{
border: 2px solid white;
margin: 11px 5px 21px 5px;
border-radius: 34px;
background-color: #2233fe;
color: white;
font-weight: 500;
box-shadow: 2px 2px 2px rgba(141, 141, 141, 0.466);
text-shadow: 1px 1px 2px rgba(170, 170, 170, 0.623);
}
.text3{
margin: 13px 9px 12px 14px;
font-size: 20px;

}
.text1:hover{
background-color: white;
border: 3px solid #2233fe;
color: #2233fe;
box-shadow: 2px 2px 2px #2233fe;
cursor: pointer;
font-weight: 600;
}
/* Contact section end */

38 changes: 38 additions & 0 deletions home.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,44 @@ <h4>Other languages</h4>
<p>Other languages comming soon...</p>
</article>
</div>
<!-- ======= Contact Section ======= -->
<section id="contact" class="contact">
<div class="container" data-aos="fade-up">

<div class="section-title">
<center><h1 class="text"><hr>CONTACT US<hr></h1></center>
</div>

<div class="row">

<div class="col-lg">
<div class="row">
<img src="https://www.snappyinfotech.in/assets/img/contact-girl1.gif" class="img">
</div>
</div>

<div class="col-lg-6">
<form action="forms/contact.php" method="post" role="form" class="php-email-form" data-aos="fade-up">
<div class="form-group">
<input placeholder="Your Name" type="text" name="name" class="form-control" id="name" required>
</div>
<div class="form-group mt-3">
<input placeholder="Your Email" type="email" class="form-control" name="email" id="email" required>
</div>
<div class="form-group mt-3">
<input placeholder="Subject" type="text" class="form-control" name="subject" id="subject" required>
</div>
<div class="form-group mt-3">
<textarea placeholder="Message" class="form-control" name="message" rows="5" required></textarea>
</div>
<div class="text-center"><button type="submit" class= "text1"><h2 class="text3">Send Message</h2></button></button></div>
</form>
</div>

</div>

</div>
</section><!-- End Contact Section -->
<script>
var preloader = document.getElementById('loading');
function loader(){
Expand Down

0 comments on commit 64d0559

Please sign in to comment.