forked from E-Cell-VSSUT/Hacktober2k22Tech
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0ae16f
commit 73989f5
Showing
3 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |