"Sexy Sidebar Navigation"
Bootstrap 3.0.3 Snippet by benjaminb10

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/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="container"> <h3>Sexy Sidebar Navigation<br /> <small>A simple, sheek navigation bar style!</small> </h3> <br /> <div class="row"> <div class="col-sm-2"> <nav class="nav-sidebar"> <ul class="nav"> <li class="active"><a href="javascript:;">Home</a></li> <li><a href="javascript:;">About</a></li> <li><a href="javascript:;">Products</a></li> <li><a href="javascript:;">FAQ</a></li> <li class="nav-divider"></li> <li><a href="javascript:;"><i class="glyphicon glyphicon-off"></i> Sign in</a></li> </ul> </nav> </div> <div class="col-sm-2 col-sm-offset-8"> <nav class="nav-sidebar pull-right"> <ul class="nav"> <li class="active"><a href="javascript:;">Home</a></li> <li><a href="javascript:;">A long link will naturally wrap around</a></li> <li class="text-overflow" title="An long link with .text-overflow"><a href="javascript:;">A link with .text-overflow can be applied in case it's too long!</a></li> <li> <a href="javascript:;" class="media"> <span class="pull-left"> <i class="media-object glyphicon glyphicon-list"></i> </span> <div class="media-body"> A media object can also be a link, making longer wrapping links play well with the icons! </div> </a> </li> <li class="text-overflow" title="Combine them all to make an awesome, safe solution!"> <a href="javascript:;" class="media"> <span class="pull-left"> <i class="media-object glyphicon glyphicon-list"></i> </span> <div class="media-body"> Combine them all to make an awesome, safe solution! </div> </a> </li> <li class="nav-divider"></li> <li><a href="javascript:;"><i class="glyphicon glyphicon-off"></i> Sign in</a></li> </ul> </nav> </div> </div> </div>
.nav-sidebar { width: 100%; padding: 8px 0; border-right: 1px solid #ddd; } .nav-sidebar a { color: #333; -webkit-transition: all 0.08s linear; -moz-transition: all 0.08s linear; -o-transition: all 0.08s linear; transition: all 0.08s linear; border-radius: 0; } .nav-sidebar .active a { cursor: default; background-color: #428bca; color: #fff; text-shadow: 1px 1px 1px #666; } .nav-sidebar .active a:hover { background-color: #428bca; } .nav-sidebar .text-overflow a, .nav-sidebar .text-overflow .media-body { white-space: nowrap; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; } /* Right-aligned sidebar */ .nav-sidebar.pull-right { border-right: 0; border-left: 1px solid #ddd; } .nav-sidebar.pull-right a { border-radius: 0; }

Related: See More


Questions / Comments: