"Input Group Add-On/Dropdown"
Bootstrap 3.0.3 Snippet by tschettler

<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"> <div class="row"> <div class="input-group"> <label for="program" class="control-label input-group-addon">Program</label> <div class="input-group-btn fluid"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Amount <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">Amount</a></li> <li><a href="#">Pseudo</a></li> <li><a href="#">Tran Code</a></li> </ul> </div> </div> </div> </div>
.input-group-addon { text-align: left; min-width: 100px; } .input-group-btn > .btn{ width:100%; } .input-group-btn + .input-group-btn > .btn { border-bottom-left-radius: 0px; border-top-left-radius: 0px; } .input-group-btn + .input-group-btn:not(:last-child) > .btn { border-bottom-right-radius: 0px; border-top-right-radius: 0px; } .input-group-btn.fluid { width: 0; }

Related: See More


Questions / Comments: