-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
166 lines (127 loc) · 3.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Kumar Aniket - Developer Portfolio Projects</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
background-color: rgb(1, 1, 67);
color: white;
}
nav {
display: flex;
justify-content: space-around;
align-items: center;
background-color: rgb(32, 32, 78);
}
nav ul {
display: flex;
justify-content: center;
}
nav ul li {
list-style: none;
margin: 0 20px;
}
nav ul li a {
text-decoration: none;
color: white;
}
nav ul li a:hover {
color: rgb(171, 151, 151);
font-size: 1rem;
}
.left {
font-size: 2rem;
}
* {
font-family: 'Roboto', sans-serif;
}
.container {
max-width: 80%;
padding: 34px;
margin: auto;
}
p {
font-size: 17px;
text-align: center;
font-family: 'Sriracha', cursive;
}
input,
textarea {
border: 2px solid black;
border-radius: 6px;
outline: none;
font-size: 16px;
width: 80%;
margin: 11px 0px;
padding: 7px;
}
form {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.btn {
color: white;
background: purple;
padding: 8px 12px;
font-size: 20px;
border: 2px solid white;
border-radius: 14px;
cursor: pointer;
}
.bg {
width: 100%;
position: absolute;
z-index: -1;
opacity: 0.6;
}
@media screen and (max-width: 1400px) {
.box {
flex-direction: column;
}
body {
min-width: fit-content;
}
nav {
flex-direction: column;
}
}
</style>
</head>
<body>
<header>
<nav>
<div class="left">Kumar Aniket's Portfolio</div>
<div class="right">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="service.html">Services</a></li>
<li><a href="projects.html">Skills</a></li>
<li><a href="contact.html">Contact Me</a></li>
</ul>
</div>
</nav>
</header>
<div class="container">
<p>Enter your details and submit this form to contact you soon </p>
<form action="index.php" method="post">
<input type="text" name="name" id="name" placeholder="Enter your name">
<input type="text" name="age" id="age" placeholder="Enter your Age">
<input type="text" name="gender" id="gender" placeholder="Enter your gender">
<input type="email" name="email" id="email" placeholder="Enter your email">
<input type="phone" name="phone" id="phone" placeholder="Enter your phone">
<textarea name="desc" id="desc" cols="30" rows="10"
placeholder="Enter any other information here"></textarea>
<button class="btn">Submit</button>
</form>
</div>
</body>
</html>