"Vertical menu with hightlight"
Bootstrap 3.1.0 Snippet by huytv56

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="col-md-3 column margintop20"> <ul class="nav nav-pills nav-stacked"> <li class="active"><a href="#"><span class="glyphicon glyphicon-chevron-right"></span> Home</a></li> <li><a href="#"><span class="glyphicon glyphicon-chevron-right"></span> Option 1</a></li> <li><a href="#" class="active2"><span class="glyphicon glyphicon-chevron-right"></span> Option 2 (active)</a></li> <li><a href="#"><span class="glyphicon glyphicon-chevron-right"></span> Option 3</a></li> <li><a href="#"><span class="glyphicon glyphicon-chevron-right"></span> Option 4</a></li> <li><a href="#"><span class="glyphicon glyphicon-chevron-right"></span> Option 5</a></li> </ul> </div>
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus { color: #fff; background-color: #428bca; } .margintop20 { margin-top:20px; } .nav-pills>li>a { border-radius: 0px; } a { color: #000; text-decoration: none; } a:hover { color: #000; text-decoration: none; } .nav-stacked>li+li { margin-top: 0px; margin-left: 0; border-bottom:1px solid #dadada; border-left:1px solid #dadada; border-right:1px solid #dadada; } .active2 { border-right:4px solid #428bca; }

Related: See More


Questions / Comments: