"Shop:: Toserba Search"
Bootstrap 3.3.0 Snippet by fathankudo

<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"> <div class="row search-header" style="margin-top:20px"> <div class="col-lg-4 col-md-4 col-xs-12"> <div class="vendor-logo"> <img src="http://test.kudo.co.id/wp-content/uploads/2015/10/kudo-logo-140.png"> <h1>TOSERBA</h1> </div> <div class="vendor-text"> Temukan lebih dari 2 juta barang di Toserba Kudo </div> </div> <div class="col-lg-8 col-md-8 col-xs-12"> <div id="custom-search-input"> <div class="input-group col-md-12"> <input type="text" class=" search-query form-control" placeholder="Search" /> <span class="input-group-btn"> <button class="btn btn-danger" type="button"> <span class=" fa fa-search"></span> </button> </span> </div> </div> </div> </div> </div>
/* SEARCH HEADER */ .search-header .vendor-logo { display: table; } .search-header .vendor-logo > img { display: table-cell; } .search-header .vendor-logo > h1 { color: #5c84c3; display: table-cell; font-style: italic; vertical-align: bottom; } .search-header .vendor-text { color: #5c84c3; font-size: 12px; font-weight: bold; margin: 10px; } .search-header #custom-search-input { margin:0; margin-top: 10px; padding: 0; } .search-header #custom-search-input .search-query { padding-right: 4px; padding-right: 4px \9; padding-left: 15px; padding-left: 15px \20; /* IE7-8 doesn't have border-radius, so don't indent the padding */ border: 3px solid #5686da; height: 50px; margin-bottom: 0; -webkit-border-radius: 11px; -moz-border-radius: 11px; border-radius: 11px; } .search-header #custom-search-input button { border: 0; background: none; /** belows styles are working good */ padding: 2px 5px; margin-top: 2px; position: relative; left: -28px; /* IE7-8 doesn't have border-radius, so don't indent the padding */ margin-bottom: 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color:#D9230F; } .search-header .search-query:focus + button { z-index: 3; }

Related: See More


Questions / Comments: