-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
210 lines (159 loc) · 3.86 KB
/
index.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!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>Fitness gym</title>
</head>
<!-- <link rel="stylesheet" href="css/phone.css"> -->
<link href="https://fonts.googleapis.com/css2?family=DynaPuff&display=swap" rel="stylesheet">
<style>
/* css reset */
body{
margin: 0px;
padding: 0px;
background: url(img/home2.webp);
font-family: 'DynaPuff', cursive;}
.left{
/* border: 2px solid purple; */
color: azure;
display: inline-block;
position: absolute;
top: 20px;
left: 34px;
}
.left img{
width: 94px;
filter: invert(100%);
height: 75px;
}
.left div{
text-align: center;
line-height: 10px;
font-size: 15px;
}
.mid{
/* border: 2px solid orange; */
color: azure;
display: block;
width: 33%;
margin: 20px auto;
/* text-align: center; */
}
.right{
/* border: 2px solid red; */
color: azure;
display: inline-block;
position: absolute;
right: 34px;
top: 28px;
}
.navbar{
display: inline-block;
list-style: none;
/* margin: 2px 2px; */
}
.navbar li{
display: inline-block;
}
.navbar li a{
color: bisque;
width: 2px;
/* margin: 2px auto; */
padding: 34px 23px;
text-decoration: none ;
font-size: large;
}
.navbar li a:hover{
color: darksalmon;
text-decoration: underline;
}
.btn{
margin: -3px 5px;
color: white;
background-color: black;
padding: 6px 6px;
border: 2px solid gray;
border-radius: 23px;
cursor: pointer;
font-family: 'DynaPuff', cursive;
}
.btn:hover{
background-color: rgba(230, 120, 61, 0.526);
}
.container{
/* border: 2px solid rgb(49, 49, 50); */
color: white;
margin: 41px auto;
padding: 40px 25px;
border-radius: 5px;
position: relative;
top: 50px;
width: 33%;
}
.form_group input{
font-size: large;
font-family: 'DynaPuff', cursive;
width: 225px;
display: block;
padding: 8px;
text-align: center;
border: 2px solid yellow;
margin:8px auto ;
border-radius: 5px;
}
.container h1{
text-align: center;
}
.container button{
display: block;
width: 25%;
margin: 25px auto;
}
</style>
<body>
<header class="header">
<div class="left">
<!-- logo -->
<img src="img/logo.jpg" alt="" srcset="">
<div>Fitness Gym</div>
</div>
<div class="mid">
<!-- navigation -->
<ul class="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Fitness Center</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="right">
<!-- BUTTONS -->
<button class="btn">Call Us</button>
<button class="btn">Email Us</button>
</div>
</header>
<div class="container">
<h1>Best Gym Of Delhi</h1>
<form action="noaction.php">
<div class="form_group">
<input type="text" name="" placeholder="Enter Your Name">
</div>
<div class="form_group">
<input type="text" name="" placeholder="Male/Female">
</div>
<div class="form_group">
<input type="text" name="" placeholder="Enter your phone number">
</div>
<div class="form_group">
<input type="number" name="" placeholder="Age">
</div>
<div class="form_group">
<input type="number" name="" placeholder="Timing">
</div>
<button class="btn">submit</button>
</form>
</div>
</body>
</html>