forked from Outrages7/Blood-Donation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContact.html
136 lines (125 loc) · 3.5 KB
/
Contact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact</title>
<style>
*{
background-image:url("C:/Users/91901/Desktop/New folder/Images/white.webp");
}
nav a
{
text-decoration: none;
padding: 10px;
text-align: center;
color: black;
}
nav
{
background-color: black;
}
nav a:hover
{
color: cyan;
}
nav a:visited
{
color: darkorange;
}
#contact{
position: relative;
}
.heading{
padding-left: 42%;
font-size: 50px;
}
#contact::before{
content: "";
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.7;
}
#contact-box{
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 34px;
}
#contact-box input,
#contact-box textarea{
width: 100%;
padding: 0.5rem;
border-radius: 9px;
font-size: 1.1rem;
}
#contact-box form{
width: 40%;
}
#contact-box label{
font-size: 1.3rem;
font-family: 'Bree Serif', serif;
}
#navbar ul{
display: flex;
font-family: 'Baloo Bhai', cursive;
}
#navbar ul {
list-style: none;
font-size: 1.3rem;
position: scroll;
}
#navbar ul a{
color: rgb(22, 2, 2);
display: block;
border-radius: 20px;
text-decoration: none;
position: relative;
}
#navbar{
padding: 10px;
display: flex;
align-items: center;
position: sticky;
background-color: rgb(250, 248, 248);
top: 0px;
}
</style>
</head>
<body>
<nav id="navbar">
<nav>
<a class="item"><a href=file:///C:/Users/91901/Desktop/New%20folder/home.html>Home</a>
<a class="item"><a href="#">Donate</a>
<a class="item"><a href="https://helpinghandindiango.org/?gclid=CjwKCAiAhKycBhAQEiwAgf19epAlwH4qnev0pw7yBNpvgYXu3gLlbFStg0XgakBpa97HyjvVWVY-8hoCeegQAvD_BwE">About</a>
<a class="item"><a href="C:\Users\91901\Desktop\New folder\feedback.html">Feedback</a>
</nav>
</nav>
<section id="contact">
<h1 class="heading">Contact Us</h1>
<div id="contact-box">
<form action="">
<div class="form-group">
<label for="name">Name: </label>
<input type="text" name="name" id="name" placeholder="Enter your name">
</div>
<div class="form-group">
<label for="email">Email: </label>
<input type="email" name="name" id="email" placeholder="Enter your email">
</div>
<div class="form-group">
<label for="phone">Phone Number: </label>
<input type="phone" name="name" id="phone" placeholder="Enter your phone">
</div>
<div class="form-group">
<label for="message">Message: </label>
<textarea name="message" id="message" cols="30" rows="10"></textarea>
</div>
<button class="btn"><bold>Submit</button></a>
</form>
</div>
</body>
</html>