"menu - icon fa search"
Bootstrap 3.0.0 Snippet by christiantigre

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ----------> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> </div> <div class="search_div dropdown-toggle right_a hover_class hidden-xs"> <input type="text" class="form-control input-sm" maxlength="64" placeholder="Buscar..." style="padding-left: 20px; border-radius: 40px;" /> <button type="submit" class="btn btn-primary btn-sm" style="border-radius: 20px;"><i class="fa fa-search"></i></button> </div> </div>
.search_div { padding: 5px 0; width: 115px; height: 30px; position: relative; left: 10px; float: left; line-height: 22px; padding: } .search_div input { position: absolute; width: 0px; float: left; margin-left: 75px; -webkit-transition: all 0.7s ease-in-out; -moz-transition: all 0.7s ease-in-out; -o-transition: all 0.7s ease-in-out; transition: all 0.7s ease-in-out; height: 30px; line-height: 18px; padding: 0 2px 0 2px; border-radius:1px; top: 11px; } .search_div:hover input, .search_div input:focus { width: 200px; margin-left: -100px; } .btn { height: 30px; position: absolute; right: 0; top: 0px; border-radius:2px; border-color: #00CDF8; background-color:#00CDF8; margin: 11px; } .btn:hover{ border-radius:2px; border-color: #93CB00; background-color:#93CB00; }

Related: See More


Questions / Comments: