"header search bar"
Bootstrap 3.0.0 Snippet by mragank

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
<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 ---------->
<section id="home" class="helpr-section helpr-layout-1 section section-inverse-color" >
<div class="container">
<div class="helpr-content" data-stellar-offset-parent="true">
<!-- helpr TEXT -->
<div class="helpr-text" data-wow-duration="1s" data-wow-delay="0.5s">
<!-- TAGLINE -->
<div class="webHomeTitle">
<h1 class="helpr-title">Let us help</h1>
</div>
<div class="home-service clearfix">
<div class="wrapper-demo1">
<div id="dd1" class="wrapper-dropdown-3" tabindex="1">
<span class="active">Select City</span>
<ul class="dropdown">
<li><a href="javascript:;" class="icon-menu " data-id="2" data-value="Bengaluru">Bengaluru</a></li>
</ul>
</div>
</div>
<div class="wrapper-demo">
<div id="dd" class="wrapper-dropdown-2" tabindex="1"><span>Select a Service</span>
<ul class="dropdown">
<li><a href="javascript:;" class="icon-2 icon-menu" data-id="2" data-value="Pest Control">Pest Control</a></li>
<li><a href="javascript:;" class="icon-1 icon-menu" data-id="1" data-value="Cleaning">Cleaning</a></li>
<li><a href="javascript:;" class="icon-4 icon-menu" data-id="4" data-value="Plumbing">Plumbing</a></li>
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
.section {
position: relative;
background-image: url('https://www.helpr.in/images/backgrounds/section-light-bg.png');
background-position: bottom center;
background-repeat: repeat-x;
}
.section-inverse-color {
background-image: url('https://www.helpr.in/images/backgrounds/section-dark-bg.png');
background-color: #222222;
color: #5a5a5a;
}
.helpr-section {
height: 100%;
background: #655f58 url('https://www.helpr.in/images/backgrounds/helpr-bg1.jpg');
background-repeat: no-repeat;
background-position: top center;
background-size: cover;
}
.helpr-text {
height: 575px;
}
.webHomeTitle {
display: block;
}
.home-service {
width: 600px;
margin: 40px auto 100px auto;
border-radius: 8px;
background: #fff;
-webkit-box-shadow: 0 4px 8px rgba(2,2,2,0.14);
-moz-box-shadow: 0 4px 8px rgba(2,2,2,0.14);
box-shadow: 0 4px 8px rgba(2,2,2,0.14);
position: relative;
height: 65px;
}
.wrapper-demo1 {
width: 200px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
$(document).ready(function(){
$(".wrapper-dropdown-3").on("click",function(){
$(this).toggleClass("active")
})
$(".wrapper-dropdown-2").on("click",function(){
$(this).toggleClass("active")
})
})
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: