Interesting Contact Form Create By Maa Blogger
HTML Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="contact-page">
<h2>Please Contact to Help</h2>
<div class="contact-info">
<div class="item">
<i class="icon fas fa-home"></i>
New Delhi, India
</div>
<div class="item">
<i class="icon fas fa-phone"></i>
+91 00000 00000
</div>
<div class="item">
<i class="icon fas fa-envelope"></i>
E-mail@address.com
</div>
<div class="item">
<i class="icon fas fa-clock"></i>
Mon - Sat 10:00 AM to 7:00 PM
</div>
</div>
<form action="" class="contact-form">
<input type="text" class="textb" placeholder="Your Name">
<input type="email" class="textb" placeholder="Your Email">
<textarea placeholder="Your Message"></textarea>
<input type="submit" class="btn" value='Send'>
</form>
</div>
</body>
</html>
CSS Code:-
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "harrington",sans-serif;
}
body{
min-height: 100vh;
background: url(https://c4.wallpaperflare.com/wallpaper/301/378/355/quote-smiling-heart-wallpaper-preview.jpg) no-repeat center;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
}
.contact-page{
width: 100%;
max-width: 1400px;
padding: 50px;
display: flex;
align-items: flex-start;
justify-content: center;
flex-wrap: wrap;
}
h2{
width: 100%;
margin-bottom: 80px;
text-transform: uppercase;
color: #150;
font-size: 60px;
}
.contact-info, .contact-form{
flex: 1;
}
.item{
margin-bottom: 24px;
font-size: 20px;
color: #125;
}
.icon{
width: 60px;
height: 60px;
line-height: 60px;
background-color: #150;
text-align: center;
color: #fff666;
border-radius: 50%;
margin-right: 16px;
}
.contact-form{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.textb{
width: calc(50% - 10px);
height: 50px;
padding: 12px;
background-color: #fff666;
border: none;
color: #140;
margin-bottom: 20px;
}
textarea{
width: 100%;
min-height: 200px;
max-height: 400px;
resize: vertical;
padding: 12px;
background-color: #fff666;
border: none;
color: #140;
margin-bottom: 20px;
}
.btn{
width: 120px;
height: 40px;
margin-left: auto;
background-color: #34cc50;
border: none;
color: #ffff00;
text-transform: uppercase;
font-size: 25px;
cursor: pointer;
border: 2px solid #34cc50;
transition: .3s linear;
}
.btn:hover{
background-color: transparent;
color: #34cc50;
}
@media screen and (max-width: 980px){
.contact-page{
max-width: 800px;
}
h2{
font-size: 60px;
margin-bottom: 40px;
}
.contact-info, .contact-form{
flex: 100%;
margin-bottom: 30px;
}
.textb{
width: 100%;
}
}
36 Comments
Very very nice
ReplyDelete&
Wonderful
Super
ReplyDeleteFantastic
ReplyDeleteSuper
ReplyDeleteAmazing
ReplyDeleteAmazing
ReplyDeleteAwesome Work
ReplyDeleteExcellent & Nice
ReplyDeleteWonderful
ReplyDeleteExcellent
ReplyDeleteSuperb
ReplyDeleteVery Interesting
ReplyDeletePerfect 👌
ReplyDeletePerfect
ReplyDeleteSuperb
ReplyDeleteFantastic
ReplyDeleteAmazing
ReplyDeleteKallu very nice
ReplyDeleteExcellent
ReplyDeleteKallu very good
ReplyDeleteBrilliant
ReplyDeleteNice
ReplyDeleteexcellent
ReplyDeleteAwesome
ReplyDeleteSuperb
ReplyDeleteexcellent
ReplyDeleteAwesome
ReplyDeleteexcellent
ReplyDeleteexcellent
ReplyDeleteWonderful
ReplyDeleteexcellent
ReplyDeleteexcellent
ReplyDeleteexcellent
ReplyDeleteexcellent
ReplyDeleteAwesome
ReplyDeleteAwesome
ReplyDelete