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{
            padding0%;
            margin0%;
        }
        .container{
            background-color:#292c2f;
            position:absolute;
            width100%;
            height60%;
            top40%;
           
        }

        .footer {
            background-color:#292c2f;
            positionabsolute;
            width:33%;
            height100%;
            top0%;
            displayinline-block;
            colorwhite;
        }
        #fot1{
            left0%;
        
        }
        #fot2{
            left:33.5%;
        }
        #fot3{
            left67%;
        }

    </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