"Navbar"
Bootstrap 3.3.0 Snippet by jalfaro

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ----------> <!-- Navigation --> <nav class="navbar navbar-fixed-top" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <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> <a class="navbar-brand" href="#"> <img src="http://www.ifacecover.com/covers/guatemalan_flag-851x315.jpg" style="width:150px; height:50px" alt=""> </a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li> <a href="#">Opcion1</a> </li> <li> <a href="#">Opcion2</a> </li> <li> <a href="#">Opcion3</a> </li> </ul> <ul class="nav navbar-nav navbar-right"> <li> <a href="#">Login</a> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav>
/*! * Start Bootstrap - Logo Nav HTML Template (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ body { padding-top: 70px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */ } .navbar-fixed-top .nav { padding: 15px 0; } .navbar-fixed-top .navbar-brand { padding: 0 15px; } @media(min-width:768px) { body { padding-top: 100px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */ } .navbar-fixed-top .navbar-brand { padding: 20px 0; } } .navbar-fixed-top .navbar-nav > li > a:hover, .navbar-fixed-top .navbar-nav > li > a:focus { color: #000; /*Sets the text hover color on navbar*/ } .navbar-fixed-top .navbar-nav > .active > a, .navbar-fixed-top .navbar-nav > .active > a:hover, .navbar-fixed .navbar-nav > .active > a:focus { color: #FF0000; /*BACKGROUND color for active*/ } .navbar-fixed-top { background-color: #0f006f; border-color: #030033; } .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { color: #262626; text-decoration: none; background-color: #66CCFF; /*change color of links in drop down here*/ } .nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: silver; /*Change rollover cell color here*/ } .navbar-fixed-top .navbar-nav > li > a { color: white; /*Change active text color here*/ }

Related: See More


Questions / Comments: