-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontact.html
168 lines (144 loc) · 4.21 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.navbar {
background-color: #333;
overflow: hidden;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 10px 14px;
text-decoration: none;
}
.navbar a.right {
float: right;
}
.navbar a.active{
background-color:#04AA6D;
color:white;
}
.navbar a:hover{
background-color:#ddd;
color:black;
}
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right bottom, #74ebd5, #ACB6E5);
color: #333;
background: url("./TaleVista/sdjfshgfjakjs.jpg");
background-size: cover;
background-position: center;
}
.container {
max-width: 600px;
margin: 50px auto;
padding: 30px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 12px;
transition: box-shadow 0.3s;
backdrop-filter:blur(15px);
background:transparent;
}
.container:hover {
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
header {
text-align: center;
margin-bottom: 20px;
}
form {
display: grid;
gap: 20px;
}
label {
font-weight: bold;
}
input,
textarea {
width: 100%;
padding: 12px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 6px;
transition: border-color 0.3s;
}
input:focus,
textarea:focus {
border-color: #3498db;
}
button {
background-color: #3498db;
color: #fff;
border: none;
padding: 12px 20px;
cursor: pointer;
font-size: 16px;
border-radius: 6px;
transition: background-color 0.3s;
}
button:hover {
background-color: #007bb5;
}
footer {
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
background: linear-gradient(to right, #3498db, #007bb5);
color: #fff;
}
/* Additional Styling */
h1, h2 {
color: black;
}
body, button {
font-size: 16px;
}
button, input[type="submit"] {
cursor: pointer;
}
button, input, textarea {
outline: none;
}
</style>
<title>Contact Us</title>
</head>
<body>
<div class="navbar">
<p><a href ="index.html">Home</a></p>
<p><a href ="about.html">About</a></p>
<p><a class="active" href ="contact.html">Contact Us</a></p>
<p><a href ="feedback.html">Feedback</a></p>
<p><a href="signup.html" class="right">Sign Up</a></p>
<p><a href="login.html" class="right">Login</a></p>
</div>
<div class="container">
<header>
<h1>Contact Us</h1>
<p>Feel free to reach out. We'd love to hear from you!</p>
</header>
<form action="#" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
<footer>
<p>© 2024 Your Company. All rights reserved.</p>
</footer>
</body>
</html>