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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<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>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.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;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: