Gym landing page
gym web page
gym website for advertizse
Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gym Template</title>
<link
href="https://fonts.googleapis.com/css2?family=Mukta:wght@600&family=Open+Sans:wght@300&family=Roboto:wght@100&display=swap"
rel="stylesheet">
</head>
<style>
body {
font-family: 'Mukta', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Roboto', sans-serif;
color: white;
margin: 0px;
padding: 0px;
background: url('gym.jpg');
background-size: contain;
}
.left {
display: inline-block;
position: absolute;
left: 60px;
top: 12px;
/* border: 1px solid white; */
}
.left img {
width: 42px;
display: block;
margin: auto;
filter: invert(100%);
}
.mid {
display: block;
width: 43%;
margin: 28px auto;
/* border: 1px solid green; */
}
.right {
position: absolute;
right: 32px;
top: 12px;
/* border: 1px solid yellow; */
}
.nav li {
display: inline-block;
}
.nav li a {
color: white;
text-decoration: none;
margin: 4px 4px;
padding: 12px 14px;
}
.nav li.active,
.nav li:hover {
color: gray;
text-decoration: underline;
}
.btn {
font-family: 'Mukta', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Roboto', sans-serif;
margin: 4px 4px;
padding: 10px 13px;
border: 1px solid white;
background-color: black;
border-radius: 12px;
color: white;
cursor: pointer;
}
.btn:hover {
background-color: white;
color: black;
/* font-size: 20px; */
}
.container {
border: 1px solid white;
width: 50%;
padding: 109px 94px;
color: white;
margin: 111px auto;
/* float: right; */
}
.form-groups input {
font-family: 'Mukta', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Roboto', sans-serif;
padding: 3px;
margin: 4px auto;
width: 81%;
text-align: center;
display: block;
font-size: 20px;
border-radius: 15px;
}
.container h1 {
text-align: center;
}
.container .btn {
display: block;
width: 82%;
margin: 10px auto;
}
</style>
<body>
<header class="topheader">
<div class="left">
<img src="./logo.jpg" alt="This is the logo of the gym">
<div>Fitnesscenter</div>
</div>
<div class="mid">
<ul class="nav">
<li><a href="#" class="active">Home</a></li>
<li><a href="#">Service</a></li>
<li><a href="#">Ftness Calculator</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="right">
<button class="btn">Call Us</button>
<button class="btn">Email Us</button>
</div>
</header>
<div class="container">
<h1>Basic form </h1>
<form action="noreply.php">
<div class="form-groups">
<input type="text" name="" placeholder="Enter your name ">
</div>
<div class="form-groups">
<input type="email" name="" placeholder="Enter your Email ">
</div>
<div class="form-groups">
<input type="mobile" name="" placeholder="Enter your mobile ">
</div>
<div class="form-groups">
<input type="text" name="" placeholder="Enter your question ">
</div>
<button class="btn">Submit</button>
</form>
</div>
</body>
</html>
Thanks you for commenting your questions. I will see question and respond you.