Skip to content

Commit

Permalink
Merge pull request #142 from AlishaMahapatra/main
Browse files Browse the repository at this point in the history
issue #13 resolved
  • Loading branch information
IshitaSatpathy authored Oct 13, 2022
2 parents 5a18919 + 73989f5 commit 04695a1
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
Binary file added Alisha #13/contact us background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Alisha #13/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="contact-section">
<h1>Contact Us</h1>
<div class="border"></div>
<form class="contact-form" action="index.html" method="post">
<input type="text" class="contact-form-text" placeholder="Your name">
<input type="email" class="contact-form-text" placeholder="Your email">
<input type="text" class="contact-form-text" placeholder="Your phone number">
<textarea class="contact-form-text" placeholder="Your message"></textarea>
<input type="Submit" class="contact-form-btn" value="Send">
</form>
</div>

</body>
</html>
59 changes: 59 additions & 0 deletions Alisha #13/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
*{
margin: 0;
padding: 0;
font-family: "montserrat",sans-serif;
}
.contact-section{
background: url(contact\ us\ background.jpg) no-repeat center;
background-size: cover;
padding: 40px 0;
}
.contact-section h1{
text-align: center;
color: aliceblue;
}
.border{
width: 600px;
height: 10px;
background-color: darkgrey;
margin: 40px auto;
}
.contact-form{
max-width: 600px;
margin: auto;
padding: 0 10px;
overflow: hidden;
}
.contact-form-text{
display: block;
width: 100%;
box-sizing: border-box;
margin: 16px 0;
border: 0;
background: 0;
background-color: bisque;
padding: 20px 40px;
outline: none;
color: darkred;
transform: 0.5s;
}
.contact-form-text:hover{
box-shadow: 0 0 10px 4px #a73b73;
}
.textarea.contact-form-text{
resize: none;
height: 120px;
}
.contact-form-btn{
float: right;
border: 0;
background-color: darkgray;
color: rgb(2, 7, 13);
padding: 12px 50px;
border-radius: 20px;
cursor: pointer;
transition: 0.5s;
}
.contact-form-btn:hover{
background-color: #a73b73;
}

0 comments on commit 04695a1

Please sign in to comment.