Search
 
SCRIPT & CODE EXAMPLE
 

HTML

vertical line navigation bar

<!DOCTYPE HTML>
<html>
<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>Double Double</title>
    <link rel="shortcut icon"  href="favicon.ico">
    <link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700%7CRoboto+Slab:400,100' rel='stylesheet' type='text/css' />
    <link href="css/font-awesome.min.css" rel="stylesheet">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/double.css" rel="stylesheet">
</head>

<body>
<nav class="navbar" role="navigation">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div style="margin: auto;display: table;">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="#">Home</a></li>
                    <hr class="vertical"/>
                    <li><a href="#">Deals</a></li>
                    <li><a href="#">Pickup Deals</a></li>
                    <li><a href="#">Menu</a></li>
                    <li><a href="#">About Us</a></li>
                    <li><a href="#">Contact Us</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div>
    </div>
</nav>
</body>
</html>
Comment

vertical line navigation bar

/*navbar properties */
.navbar .brand {
    max-height: 40px;
    overflow: visible;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar a.navbar-brand {
    padding: 9px 15px 8px;
}
.navbar{
    font-family: young;
    clear: both;
}
.navbar a{
    color: #515254;
}
.navbar-nav{
    font-size: 20px;
    padding-top: 20px;
}
#bs-example-navbar-collapse-1{
    float: left;
}
.nav > li > a:hover, .nav > li > a:focus{
    color: #007f3d;
    background: none;
}
.navbar-toggle .icon-bar {
    background-color: black;
}

.navbar-toggle {
    border: 1px solid #000;
}
.verticalLine {
    border-left: thick solid #ff0000;
}
hr.vertical
{
    color: black;
    width: 0px;
    height: 100%; /* or height in PX */
}
/*navbar properties */
Comment

PREVIOUS NEXT
Code Example
Html :: div html 
Html :: bootstrap jumbotron with navbar 
Html :: images html 
Html :: Modify h1 text 
Html :: bootstrap navs tabs code 
Html :: tags 
Html :: html entity question mark 
Html :: request html nodejs 
Html :: html autoplay loop many videos 
Html :: python download html as string 
Html :: checkbox value 
Html :: render html view react native 
Html :: razor view partial view 
Html :: how to code in html 
Html :: form bootstrap email addres 
Html :: what is <tr in HTML 
Html :: html flag icons 
Html :: html "/n" not woring 
Html :: njk if 
Html :: change text color exactly one word inside text html 
Html :: display element with ng-template 
Html :: animated text in website 
Html :: Emoji Symbols in UTF-8 of coins 
Html :: bootstrap popup alert 
Html :: what are the tags in html that every website have 
Html :: copy table to clipboard html 
Html :: drag and drop html 
Html :: onclick video popup in html 
Html :: prevent form submission on enter key 
Html :: create custum tage html 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =