GYM (WEB) HTML/CSS

 <!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> DHRUV GOKU.SBN's GYM </title>
</head>
<link href="https://fonts.googleapis.com/css?family=Baloo+Bhai&display=swap" rel="stylesheet">
<link rel="style sheet" href="website2.css">
<style>
    body{
        font-family: 'Baloo Bhai', cursive;
        color: white;
        margin: 0px;
        padding: 0px;
        background: url(pg.png);
        height: 1255px;
        display: flex;
        flex-wrap: wrap;
    }
    .left{
        display: inline-block;
        /* border: 2px solid red; */
        position: absolute;
        left: 34px;
        top: 10px;
       
    }
    .left img {
        width: 79px;
    }
    .left div{
        line-height: 10px;
        font-size: 10px;
        text-align: center;
    }
    .mid{
        line-height: 10px;
        display:block;
        width: 615px;
        top: 22px auto;
        margin: 22px auto;
        border: 2px;
        margin-left: 140px;
    }
    .right{
        position: absolute;
        right: 0px;
        left: 810px;
        top: 25px;
        display: inline-block;
        /* border: 2px solid red; */
    }
    .right .search{
        font-family: 'Baloo Bhai', cursive;
        text-align: center;
        display: block;
        width: 180px;
        padding: 1px;
        border: 2px solid black;
        margin: 5px auto;
        font-size: 16px;
        border-radius: 8px;
    }
    .navbar{
        display: inline-block;
    }
    .navbar li{
        display: inline-block;
        font-size: 25px;
    }
    .navbar li a{
        color: white;
        text-decoration: none;
        padding: 34px 23px;
    }
    .navbar li a:hover,.navbar li a.activ{
        text-decoration: underline;
        color: gray;
    }
    .btn{
        font-family: 'Baloo Bhai', cursive;
        margin: 0% 9px;
        background-color: gray;
        color: white;
        padding: 4px 14px;
        border: 2px solid gray;
        border-radius: 10px;
        font-size: 20;
        cursor: pointer;
    }
    .btn:hover{
        background-color: rgb(31, 30, 30);
    }
    .container{
        border: 2px solid black;
        margin: 106px 80px;
        padding: 75px;
        width: 45%;
        border-radius: 28px;
        display: flex;
        flex-wrap: wrap;
    }
    .container h1{
        text-align: center;
    }
    .container button{
        display: block;
        width: 23%;
        margin: 20px auto;
    }
    .form-group input{
        font-family: 'Baloo Bhai', cursive;
        text-align: center;
        display: block;
        width: 308px;
        padding: 1px;
        border: 2px solid black;
        margin: 11px auto;
        font-size: 25px;
        border-radius: 8px;
    }
</style>
<body>
    <header class="head">
        <div class="left">
            <img src="fkj.png" alt="">
            <div>RGDAKV.SBN GYM </div>
        </div>
        <div class="mid">
            <ul class="navbar">
                <li><a href="#" class="activ">Home</a></li>
                <li><a href="#">About</a></li>
                <li><a href="#">GYM Services</a></li>
                <li><a href="#">Contact</a></li>
            </ul>
        </div>
        <div class="right">
            <input type="text" name="" placeholder="explore this web" class="search">
            <div>
                <button class="btn">Call us</button>
                <button class="btn">Email us</button>
            </div>
        </div>
    </header>
    <div class="container">
        <h1>Join best GYM of universe now</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="enter your age">
            </div>
            <div class="form-group">
                <input type="text" name="" placeholder="enter your gender">
            </div>
            <div class="form-group">
                <input type="text" name="" placeholder="enter your locality">
            </div>
            <button class="btn">submit</button>
        </form>
    </div>
<Head1> Dhruvgoku106</Head>
</body>
</html>

Comments

Popular posts from this blog

GYM (WEB) 2 HTML/CSS