"dropdown in bootstrap 3"
Bootstrap 3.3.0 Snippet by ayaz11244

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Dropdown</h2> <div class="col-sm-6"></div> <div class="col-sm-6"> <div class="dropdown"> <a class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Admin <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">Register</a></li> <li><a href="#">Login</a></li> <li><a href="#">Logout</a></li> </ul> </div> </div> </div> </div>
h2 { text-align: center; }

Related: See More


Questions / Comments: