-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
124 lines (121 loc) · 3.24 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
<!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>Hamza's Fitness</title>
</head>
<link rel="stylesheet" href="CSS/style.css">
<style>
body{
margin: 0px;
padding: 0px;
font-size: 17px;
background-image: url('sports-966991_1920.jpg');
background-repeat: no-repeat;
background-size: 1920px 650px;
color: white;
font-weight: bold;
}
.left{
border: 2px solid red;
display: inline-block;
position: absolute;
left: 34px;
top: 18px;
}
.left img{
width: 95px;
filter: invert(100%);
background: transparent;
}
.mid{
border: 2px solid green;
display: block;
width: 50%;
margin:18px auto;
}
.navbar li {
display: inline-block;
}
.navbar li a{
text-decoration: none;
color: white;
padding: 23px 34px;
}
.navbar li a:hover, .navbar li a:active{
text-decoration: underline;
color: rgb(202, 178, 178);
padding: 23px 34px;
}
.right{
border: 2px solid yellow;
position: absolute;
display: inline-block;
right: 34px;
top: 18px;
}
.btn{
margin: 0px 3px;
background-color: transparent;
color: white;
border: 2px solid transparent;
padding: 4px 3px;
cursor: pointer;
}
.btn:hover{
color: rgb(202, 178, 178);;
}
.container{
border: 2px solid red;
margin: 76px 167px;
padding: 23px;
width: 30%;
padding: 73px;
border-radius: 12px;
}
.container h3{
padding-top: 0px;
text-align: center ;
color: black;
}
</style>
<body>
<header class="header">
<div class="left">
<img src="Black and White Illustrative Hand Weightlifting Badge Health and Fitness Gym Logo .jpg" alt="">
</div>
<div class="mid">
<ul class="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Fitness Calculator</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="right">
<button class="btn">Call us Now</button>
<button class="btn">Email US</button>
</div>
</header>
<div class="container">
<h3>Join the best gym in KArachi</h1>
<form action="noaction.php">
<div class="form-grp">
<input type="text" placeholder="Enter yor name">
</div>
<div class="form-grp">
<input type="text" placeholder="Enter yor name">
</div>
<div class="form-grp">
<input type="text" placeholder="Enter yor name">
</div>
<div class="form-grp">
<input type="text" placeholder="Enter yor name">
</div>
<button class="btn">Submit</button>
</form>
</div>
</body>
</html>