Vertical Navigation Bar With Html & Css

 Hello friends, welcome to our new post thie post contains the source code of vertical navigation bar created with only html and css. you can watch our video to see how it looks like and also you can subscribe our channel for more cool projects.

  


NAVIGATION BAR


Vertical Navigation Bar With Hover Effects


SOURCE CODE


<!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>vertical navigation bar </title>
    <style>
        body{
            background-colorrgb(25125521);
        }

        ul {
            list-stylenone;
            padding0px 0px;
            margin50px auto;
            background-colorrgb(000);
            height500px;
            line-height100px;
            width600px;
            font-size30px;
            font-family:'Times New Roman'Timesserif;
        }

        li {
          
          text-aligncenter;
       
        }

        a {
            text-decorationnone;
            displayblock;
            color:rgb(255255255);

        }

        a:hover {
            background-colorrgb(421255);
        }
    </style>
</head>

<body>

        <ul>
            <li ><a href="#">Home</a></li>
            <li ><a href="#">About</a></li>
            <li ><a href="#">Products</a></li>
            <li ><a href="#">Services</a></li>
            <li ><a href="#">Contact</a></li>
        </ul>

</body>

</html>






Post a Comment

Previous Post Next Post