Skip to content

Commit

Permalink
Gym
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhatyadav60 committed Aug 13, 2023
1 parent 407c7fd commit a202b8b
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 0 deletions.
94 changes: 94 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!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>Document</title>
<link rel="stylesheet" href="utility.css">
<link rel="stylesheet" href="styles.css">
</head>

<body class="overflow-hidden">
<div class="container mx-auto">
<header>
<nav class="flex justify-between">
<div class=" font-bold flex items-center text-blue"> Gym & fitness</div>
<ul class="navbar flex items-center">
<li>Home</li>
<li>Service</li>
<li>About us </li>
<li>Contact us</li>
<li><button class="btn"> join now </button> </li>
</ul>
</nav>
<hr>
</header>
<main class="min-h-screen">
<section class="section1">
<div class="flex">
<div class="topleft flex items-center flex-col justify-center ">
<h1 >The best fitnessGym in the town is here</h1>
<img class="logo" src="https://t3.ftcdn.net/jpg/00/72/28/70/360_F_72287054_1jMDVvnERPcrjltWtRfhhsgvxs3WZjXQ.jpg">
<p class="my-1 px-2 ">Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga possimus velit fugit et voluptas sint non officia, est autem reiciendis facilis vero eum vel repellendus voluptatum nemo libero. Id quam eaque provident sequi veritatis, accusantium libero eligendi iusto.</p>
</div>
<div class=" topright flex items-center ">
<img class="logo2" src="https://cdn4.vectorstock.com/i/1000x1000/68/13/cartoon-fitness-dumbbells-vector-8426813.jpg">
</div>
</div>
</section>
<hr>
<section class="section2">
<h1 class="text-center my-1">Pricing</h1>
<p class=" text-center my-1 px-2">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Modi iure placeat consectetur. Molestias maiores tempore quam quos nulla tenetur, labore vitae sed natus, magni minima a aliquam et, repellat inventore officia ab repellendus perferendis architecto.</p>
<div class="boxes flex justify-center ">
<div class="box text-center">
<h2>₹1000/month</h2>
<hr>
<ul class="font-bold">
<li></li>
<li>Full access to gym equipments </li>
<li>Support of trainer</li>
<li>Guaranteed result</li>
<br><br><br><br>
<li><button class="btn">Signup Now</button></li>
</ul>
</div>
<div class="box">

<h2>₹2000/month</h2>
<hr>
<ul class="font-bold">
<li>Provide protien suppliments</li>
<li>Full access to gym equipment</li>
<li>Support of trainer</li>
<li>Guaranteed result</li>
<br><br>
<li><button class="btn">Signup Now</button></li>
</ul>
</div>
<div class="box">
<h2>₹4000/month</h2>
<hr>
<ul class="font-bold">
<li>Gym membership for 1 year</li>
<li>Provide protien suppliments</li>
<li>Full access to gym equipment</li>
<li>Support of trainer</li>
<li>Guaranteed result</li>
<li><button class="btn">Signup Now</button></li>
</ul>
</div>
</div>
</section>
</main>
<hr>
<footer class="footer">
copyright &copy; Gym Fitness| ALl rights reserved
</footer>
</div>

</body>

</html>
44 changes: 44 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
*{

margin: 10px;
padding: 0px;
}
.container{
max-width: 80vw;
}
.navbar li{
list-style: none;
margin: 0 12px;
}
.navbar{
height: 55px;
display: flex;

}
.height-img{
height: 75%;
width: 75%;
padding: 10px 10px 10px 10px;
}
.section-2 p{
padding-left: 128px;
padding-right: 63px;
}
.section-2 h1{
font-size: 8rem;
}
.box{
width: 20%;
border: 2px solid #009be6 ;
margin: 12px 22px;
}
.box ul{
list-style: none;
}
.box ul li{
margin: 12px 2px;
}
.footer{
padding:23px;
text-align: center;
}
93 changes: 93 additions & 0 deletions utility.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
*{
margin: 10px;
padding: 0px;
}
.min-h-screen{
min-height: 100vh;
}
.mx-auto{
margin-right: auto;
margin-right: auto;
}
.flex{
display: flex;
}
.items-center{
align-items: center;
}
.justify-between{
justify-content: space-between;

}
.justify-center{
justify-content: center;
}
.font-bold{
margin:27px

}
.topleft{
padding: 130px 50px 50px 50px;
width: 50%;
height: 50vh;
}
.toprightt{
width: 50%;
height: 50vh;
}
.section1{
max-height:100vh;
}
.flex-col{
flex-direction: column;
}
.my-1{
margin-top: 13px;
margin-bottom: 23px;
}
.px-2{
padding-left: 13px;
padding-right: 23px;
}
.text-blue{
color: #009be6
}
.btn{
height: 30px;
border: 2px solid white;
padding: 4px 12px;
cursor: pointer;
color: white;
background-color: #009be6;
border-radius: 10px;
}

.all-black{
background-color: black;
color: white;
}
.height{
height: 50%;
width:50%;
}
.overflow-hidden{
overflow:scroll;
}
.logo{
width:150px;
align-self:center;
}
.logo2{
width:75%;
padding-left: 30px;
}
.logo3{
width:25%;
}
.logo4{
width:25%;
}
.text-center{
text-align: center;

}

0 comments on commit a202b8b

Please sign in to comment.