"Sách Mềm navbar"
Bootstrap 3.3.0 Snippet by ashutosh123

<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 ----------> <nav class="navbar navbar-default nav-bar-sachmem"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Trình đơn</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" style="padding-top:0;padding-bottom:0;" href="#"><img src="https://www.sachmem.vn/assets/logo-small-522675a1aeaa79606cfbdf29142c86b0c337d5a958be22cbc6a6eb7718d7d28b.png" alt="Sách Mềm"/></a> </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 class="active"><a href="#">GIỚI THIỆU</a></li> <li><a href="#">SÁCH CỦA TÔI</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">HƯỚNG DẪN<span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">Hướng dẫn sử dụng</a></li> <li><a href="#">Câu hỏi thường gặp</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">TÀI LIỆU<span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">Tài liệu tham khảo cho giáo viên</a></li> <li><a href="#">Ngân hàng câu hỏi</a></li> </ul> </li> </ul> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tên <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">Tài khoản</a></li> <li><a href="#">Kết quả học tập</a></li> <li role="separator" class="divider"></li> <li><a href="#">Đăng xuất</a></li> </ul> </li> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav>
.navbar-default .navbar-nav>li>a { color: #eee; } .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { color: yellow; background-color: #35b2b2; } .nav-bar-sachmem{ background-color:#35b2b2; color:white; }

Related: See More


Questions / Comments: