HTML+CSS Footer Design

 Footer Exact Layout Pattern:-

HTML+CSS CODE:-

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        body{
            padding: 0%;
            margin: 0%;
        }
        .container{
            background-color:#292c2f;
            position:absolute;
            width: 100%;
            height: 60%;
            top: 40%;
           
        }

        .footer {
            background-color:#292c2f;
            position: absolute;
            width:33%;
            height: 100%;
            top: 0%;
            display: inline-block;
            color: white;
        }
        #fot1{
            left: 0%;
        
        }
        #fot2{
            left:33.5%;
        }
        #fot3{
            left: 67%;
        }

    </style>
</head>
<body>
    <div class="container">
        <div class="footer" id="fot1">
            <p>HEllo part-1</p>
            

        </div>
        <div class="footer" id="fot2">
            <p>helo part2</p>

        </div>
        <div class="footer" id="fot3">
            <p>Hello part-3</p>

        </div>
    </div>
</body>
</html>


OUTPUT:-



Comments

Popular Posts