-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tut19.html
195 lines (169 loc) · 4.47 KB
/
Tut19.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project1 Creating Website for Local Gym</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhai+2&display=swap" rel="stylesheet">
</head>
<style>
body {
/* CSS reset */
padding: 0px;
margin: 0px;
background: url('/Web development/gallery/gym3.jpg') no-repeat center center/cover;
/* background-size: 1400 800px; */
color: whitesmoke;
font-family: 'baloo bhai 2';
}
.left {
/* border: red 2px solid; */
display: inline-block;
position: absolute;
left: 50px;
top: 20px;
}
.left img {
width: 80px;
background-color: rgb(230, 62, 62);
filter: invert(100%);
}
.left div {
text-align: center;
font-size: 16px;
margin: 1px;
line-height: 13px;
}
.center {
/* border: rgba(127, 246, 236, 0.993) 2px solid; */
width: 41%;
margin: 27px auto;
display: block;
}
.right {
/* border: red 2px solid; */
display: inline-block;
position: absolute;
right: 34px;
top: 41px;
}
.navbar {
display: inline-block;
}
.navbar li {
/* list-style: none; */
display: inline-block;
}
.navbar li a {
font-size: 22px;
color: white;
text-decoration: none;
padding: 0px 8px;
border-radius: 10px;
}
.navbar li a:hover {
background-color: white;
color: black;
text-decoration: wavy;
}
.navbar li a.active {}
.btn {
margin: 0px 9px;
background-color: rgb(82, 79, 79);
color: white;
padding: 2px 14px;
border: 2px solid gray;
border-radius: 10px;
font-size: 16px;
font-family: 'baloo bhai 2';
cursor: pointer;
}
.btn:hover {
background-color: rgba(19, 3, 3, 0.993);
}
.btn:active {
background-color: cornsilk;
color: black;
}
.btn:focus {
outline: none;
}
.container {
border: 2px solid snow;
padding: 58px 55px;
margin: 111px 79px;
width: 33%;
border-radius: 25px;
font-family: 'baloo bhai 2';
}
.container h1 {
text-align: center;
/* font-family: 'baloo bhai 2'; */
}
.form-group input {
text-align: center;
display: block;
padding: 7px;
border: 2px solid black;
margin:10px auto;
width: 65%;
font-size: 18px;
border-radius: 10px;
font-family: 'baloo bhai 2';
}
.container .btn{
display: block;
margin: auto;
width: 70%;
}
.container .btn:hover{
color: #000;
background-color: white;
}
</style>
<body>
<header class="header">
<!-- /* left box logo */ -->
<div class="left">
<!-- i am left -->
<img src="/gallery/dumbell1.png" alt="">
<div>Zak's Fitness</div>
</div>
<!-- center box for navbar -->
<div class="center">
<!-- i am center -->
<ul class="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Finess Calc</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</div>
<!-- /* right box for buttons */ -->
<div class="right">
<!-- i am right -->
<button class="btn">Call us</button>
<button class="btn">Email us</button>
</div>
</header>
<div class="container">
<h1>Join Best Gym</h1>
<form action="noaction.php">
<div class="form-group">
<input type="text" placeholder="Enter Your Name">
</div>
<div class="form-group">
<input type="text" placeholder="Enter Your Mail">
</div>
<div class="form-group">
<input type="text" placeholder="Enter Your Age">
</div>
<div class="form-group">
<input type="text" placeholder="Enter Your City">
</div>
<button class="btn">Submit</button>
</form>
</div>
</body>
</html>