"rtl Search box with Icon"
Bootstrap 3.3.0 Snippet by rubido

<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"> <div class="text-search"> <span class="glyphicon glyphicon-search icon-search-in-text"></span> <input class="form-control search-input " type="text" placeholder="Search" name="search" ng-model="searchItem" /> </div> </div> </div>
.text-search { min-width: 350px; display: inline-block; } .icon-search-in-text { float: left; display: inline-block; top: 24px; left:30px; } .search-input { border-radius: 20px; margin-left: 20px; text-align:right; }

Related: See More


Questions / Comments: