"Input side by side"
Bootstrap 3.3.0 Snippet by bipon68

<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 ----------> <div class="container"> <h2>Input side by side in .input-group class</h2> <div class="row"> <div class="col-sm-6"> <div class="input-group"> <span class="input-group-addon">Source</span> <input class="form-control" type="text" name="source" placeholder="Name"/> <span class="input-group-addon input-group-separator"></span> <input class="form-control" type="url" name="source" placeholder="Url"/> </div> </div> </div> </div>
.input-group-separator { padding: 0; width: 0; border: none; } .input-group-separator + .form-control { border-left: none; }

Related: See More


Questions / Comments: