Slider

responsive header menu with search box




very easy to edit the stylish menu. first go to blogger account and click on theme  /Template ↓↓



Click  on  and now find ]]></b:skin> then paste the following given CCS code just before ]]></b:skin>



  ↓↓


.header-search{
 background-color:#292c2f;
 box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
 padding: 20px 40px;
 height: 80px;
 color: #ffffff;
 box-sizing: border-box;
}

.header-search .header-limiter {
 max-width: 1200px;
 text-align: center;
 margin: 0 auto;
}

/* Logo */

.header-search .header-limiter h1 {
 float: left;
 font: normal 28px Cookie, Arial, Helvetica, sans-serif;
 line-height: 40px;
 margin: 0;
}

.header-search .header-limiter h1 span {
 color: #5383d3;
}


/* The header links */

.header-search .header-limiter a {
 color: #ffffff;
 text-decoration: none;
}


.header-search .header-limiter nav {
 font:16px Arial, Helvetica, sans-serif;
 line-height: 40px;
 float: left;
 margin: 0 0 0 60px;
 padding: 0;
}


.header-search .header-limiter nav a {
 display: inline-block;
 padding: 0 5px;
 text-decoration:none;
 color: #ffffff;
 font-size: 16px;
 font-weight: normal;
 opacity: 0.9;
}

.header-search .header-limiter nav a:hover {
 opacity: 1;
}

.header-search .header-limiter nav a.selected {
 color: #608bd2;
 pointer-events: none;
 opacity: 1;
}

/* The search box */

.header-search .header-limiter form {
 float:right;
 position: relative;
 right: 30px;
 margin-left: 40px;
 border-radius: 3px;
 background-color:  #3a3c3e;
 width: 44px;
 height: 39px;
 cursor: pointer;

 -ms-user-select: none;
 -moz-user-select: none;
 -webkit-user-select: none;
 user-select: none;
}

/* CSS search icon */

.header-search .header-limiter form:before {
 position: absolute;
 content: '';
 border-radius: 50%;
 border: 2px solid #fff;
 width: 9px;
 height: 9px;
 top: 12px;
 left: 14px;
}

.header-search .header-limiter form:after {
 position: absolute;
 content: '';
 background-color: #fff;
 width: 2px;
 height: 8px;
 top: 22px;
 left: 26px;
 -webkit-transform: rotate(-44deg);
 -moz-transform: rotate(-44deg);
 transform: rotate(-44deg);
}

/* The search box */

.header-search .header-limiter form input {
 display: none;
 position: absolute;
 right: 42px;
 padding: 11px 12px 9px;
 border: none;
 width: 210px;
 border-radius: 2px 0 0 2px;
 height: 39px;
 box-sizing: border-box;
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
}

/* Making the header responsive. */

@media all and (max-width: 600px) {

 .header-search {
  padding: 15px;
  position: relative;
 }

 .header-search .header-limiter h1 {
  float:none;
  font-size: 24px;
  line-height: 1;
 }

 .header-search .header-limiter nav {
  text-align: center;
  float: none;
  margin: 0;
 }

 .header-search .header-limiter nav a {
  font-size: 13px;
 }

 .header-search .header-limiter form {
  position: absolute;
  top: 20px;
  right: 20px;
 }

}

.header-search nav a.selected {
 border-radius: 2px;
 background-color: #2B5773;
 padding: 8px 12px;
}


.header-search a.logout-button {
 font-size: 13px;
 font-weight: bold;
 
float: right;
 border-radius: 3px;
 background-color: rgba(58, 60, 62, 0);
 height: 40px;
 padding: 0 20px;
 
border: 1px solid #5E6367;
 line-height: 40px;
 box-sizing: border-box;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #292c2f;
    min-width: 100px;
    
    padding: 01px 01px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

now again search for </header> teg and paste following html code just below.

  ↓↓ 

<header class="header-search">
<div class="header-limiter">
<h1><img Value='math' alt='Smiley face' float='center' height='47' src='https://2.bp.blogspot.com/-k-GhiRxhXlI/WS-VGEoQRZI/AAAAAAAAAOU/EmwDLQ_rlpIMmHR112FvpFxUN4JyPQmmQCLcB/s1600/logo.png' width='200'/>
</h1>
<nav>
  <a href="#" class="selected">Home</a>   
<a href="#">Bloging</a>
<div class="dropdown">
  <span>Dropdown</span>
  <div class="dropdown-content">
    <a href="#">Pricing</a>
<a href="#">Pricing1</a>
  </div>
</div>   
<a href="#">Tricks</a>
   <a href="http://abhwai.blogspot.in/">Abhwai</a>
  </nav>
 <a href="#" class="logout-button">Contact us</a>
  
<form method="get" action="#">
  <input type="search" placeholder="Search!" name="search"/>
  </form> 
</div>
</header>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
 $(document).ready(function() {

  $('.header-search form').on('click', function(e) {

   // If the form (which is turned into the search button) was
   // clicked directly, toggle the visibility of the search box.

   if(e.target == this) {
    $(this).find('input').toggle();
   }

  });
 });

</script>

now click on Save Theme. That's it

I hope you enjoyed this  Style Mega Drop-Down Menu With Search Box and the techniques I used. Please share this post if you like it

Mega drop-down menu with search box




very easy to edit the stylish menu. first go to blogger account and click on theme  /Template ↓↓



Click  on  and now find ]]></b:skin> then paste the following given CCS code just before ]]></b:skin>



  ↓↓


.nav {
    display: inline-block;
    position: relative;
    cursor: default;
    z-index: 500;
}
 
.nav > li {
    display: block;
    float: left;
}
.nav,
.nav a,
.nav ul,
.nav li,
.nav div,
.nav form,
.nav input {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}
 
.nav a { text-decoration: none; }
 
.nav li { list-style: none; }
.nav > li > a {
    position: relative;
    display: block;
    z-index: 510;
    height: 54px;
    padding: 0 20px;
    line-height: 54px;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #fcfcfc;
    text-shadow: 0 0 1px rgba(0,0,0,.35);
 
    background: #372f2b;
    border-left: 1px solid #4b4441;
    border-right: 1px solid #312a27;
 
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}
.nav > li:hover > a { background: #4b4441; }
 
.nav > li:first-child > a {
    border-radius: 3px 0 0 3px;
    border-left: none;
}
.nav > li.nav-search > form {
    position: relative;
    width: inherit;
    height: 54px;
    z-index: 510;
    border-left: 1px solid #4b4441;
}
.nav > li.nav-search input[type="text"] {
    display: block;
    float: left;
    width: 1px;
    height: 54px;
    padding: 15px 0;
    line-height: 24px;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #999999;
    text-shadow: 0 0 1px rgba(0,0,0,.35);
 
    background: #372f2b;
 
    -webkit-transition: all .3s ease 1s;
    -moz-transition: all .3s ease 1s;
    -o-transition: all .3s ease 1s;
    -ms-transition: all .3s ease 1s;
    transition: all .3s ease 1s;
}
 
.nav > li.nav-search input[type="text"]:focus { color: #fcfcfc; }
 
.nav > li.nav-search input[type="text"]:focus,
.nav > li.nav-search:hover input[type="text"] {
    width: 110px;
    padding: 15px 20px;
 
    -webkit-transition: all .3s ease .1s;
    -moz-transition: all .3s ease .1s;
    -o-transition: all .3s ease .1s;
    -ms-transition: all .3s ease .1s;
    transition: all .3s ease .1s;
}
.nav > li.nav-search input[type="submit"] {
    display: block;
    float: left;
    width: 20px;
    height: 54px;
    padding: 0 25px;
    cursor: pointer;
 
    background: #372f2b url(https://1.bp.blogspot.com/-sUq25ZOQ73w/WSlyp1v2a0I/AAAAAAAAANU/upeFyw1jg9YTOJT_7Y1bfKyqJN3YKuL0gCLcB/s1600/search.png) no-repeat center center;
 
    border-radius: 0 3px 3px 0;
 
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}
 
.nav > li.nav-search input[type="submit"]:hover { background-color: #4b4441; }
.nav > li > div {
    position: absolute;
    display: block;
    width: 100%;
    top: 50px;
    left: 0;
 
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
 
    background: #ffffff;
    border-radius: 0 0 3px 3px;
 
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
}
.nav > li:hover > div {
    opacity: 1;
    visibility: visible;
    overflow: visible;
}
.nav .nav-column {
    float: left;
    width: 20%;
    padding: 2.5%;
}
 
.nav .nav-column h3 {
    margin: 20px 0 10px 0;
    line-height: 18px;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: #372f2b;
    text-transform: uppercase;
}
 
.nav .nav-column h3.orange { color: #ff722b; }
 
.nav .nav-column li a {
    display: block;
    line-height: 26px;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #888888;
}
 
.nav .nav-column li a:hover { color: #666666; }

now again search for </header> teg and paste following html code just below.

  ↓↓ 


<ul class="nav">
    <li>
        <a href="#"><img Value='math' alt='Smiley face' float='center' height='40' src='https://2.bp.blogspot.com/-frG7FTOwvsQ/WSl26z65kaI/AAAAAAAAAN0/Q15gXTPTM7k7Qz0zQui9D8hNj_0ekvHhQCLcB/s1600/Untitled-1.png' width='50'/>
</a>
       
    </li>
    <li><a href="#">menu</a></li>
    <li>
        <a href="#">Dropdown</a>
        <div>
            <div class="nav-column">
    <h3>Home</h3>
    <ul>
        <li><a href="#">Pampers Diapers</a></li>
        <li><a href="#">Huggies Diapers</a></li>
        <li><a href="#">Seventh Generation</a></li>
        <li><a href="#">Diapers</a></li>
        <li><a href="#">Derbies</a></li>
        <li><a href="#">Driving shoes</a></li>
        <li><a href="#">Espadrilles</a></li>
        <li><a href="#">Loafers</a></li>
    </ul>
</div>
 
<div class="nav-column">
    <h3>Home</h3>
    <ul>
        <li><a href="#">Driving shoes</a></li>
        <li><a href="#">Espadrilles</a></li>
        <li><a href="#">Loafers</a></li>
    </ul>
 
    <h3>Home</h3>
    <ul>
        <li><a href="#">Driving shoes</a></li>
        <li><a href="#">Espadrilles</a></li>
        <li><a href="#">Loafers</a></li>
    </ul>
</div>
 
<div class="nav-column">
    <h3>Home</h3>
    <ul>
        <li><a href="#">Pampers Diapers</a></li>
        <li><a href="#">Huggies Diapers</a></li>
        <li><a href="#">Seventh Generation</a></li>
        <li><a href="#">Diapers</a></li>
        <li><a href="#">Derbies</a></li>
        <li><a href="#">Driving shoes</a></li>
        <li><a href="#">Espadrilles</a></li>
        <li><a href="#">Loafers</a></li>
    </ul>
</div>
 
<div class="nav-column">
    <h3 class="orange">Related Categories</h3>
    <ul>
        <li><a href="#">Pampers Diapers</a></li>
        <li><a href="#">Huggies Diapers</a></li>
        <li><a href="#">Diapers</a></li>
    </ul>
 
    <h3 class="orange">Brands</h3>
    <ul>
        <li><a href="#">Driving shoes</a></li>
        <li><a href="#">Espadrilles</a></li>
    </ul>
</div>
        </div>
    </li>
    <li><a href="http://abhwai.blogspot.in/">back to abhwai</a></li>
    <li><a href="#">Bracelets</a></li>
    <li><a href="#">All Categories</a></li>
    <li class="nav-search">
        <form action="#">
            <input type="text" placeholder="Search...">
            <input type="submit" value="">
        </form>
    </li>
</ul>
now click on Save Theme. That's it

I hope you enjoyed this  Style Mega Drop-Down Menu With Search Box and the techniques I used. Please share this post if you like it

responsive drop down menu with search box


in Mobile Views ↓↓




very easy to edit the stylish menu. first go to blogger account and click on theme  /Template ↓↓



Click  on  and now find ]]></b:skin> then paste the following given CCS code just before ]]></b:skin>



  ↓↓


/***********************************************
Responsive DropDown Menu by MyBloggerGuides.com
************************************************/
#nav_wrapper1 {
width: 100%;
}
.nav_wrapper {
border-bottom:5px solid #111;
left: 0;
top:0;
position:fixed;
width: 100%;
transition: top .5s ease-out;
background: #0c6aff;
height:59px;
z-index:99999;
}
.btn {
padding: 10px 1%;
margin: 5px;
color: #fff;
text-decoration: none;
font-family: normal;
transition: all 0.1s ease;
}
.btn:hover {
transition: all 0.1s ease;
}
#search i {color: #fff;
font-size: 22px;}
#search {
float: right;
font-size: 22px;
padding: 20px 25px;
line-height: 0px;
color: #fff;
margin: 0;
font-weight: 700;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
}
#search:hover {
background: #111;
}
.search_box {
clear: both;
width: 40%;
background: #111;
padding: 0;
margin: 0;
height: 0;
overflow: hidden;
transition: all 0.1s ease-in-out;
float:right;
z-index:99999999999;
}
.search_box.active {
height: auto;
padding: 10px 0;
width:40%;
}
.search_box input {
width: 60%;
font-size: 13px;
margin: 0 0 0 10px;
padding: 10px;
border: none;
background: #fff;
}
.search_box input:focus {
outline: none;
}
.search_box input.search_icon {
clear: both;
width: 30%;
height: auto;
padding: 10px;
margin: 0;
margin-right:10px;
border: none;
color: #fff;
cursor: pointer;
background: #0c6aff;
opacity: 1;
transition: all 0.1s ease;
float:right;
}
.search_box input.search_icon:hover {
background: #FFF;
color:#111;
}
.menu-link {
display: none;
}
.spinner-master input[type=checkbox] {
display: none;
}
.menu {
width: 100%;
height: auto;
background: #0c6aff;
color:#FF0000;
transition: all 0.3s ease;
margin-top:5px;
}
.menu ul {
padding: 0px;
margin: 0px;
list-style: none;
position: relative;
display: inline-block;
}
.menu > li > ul.sub_menu {
min-width: 10em;
padding: 4px 0;
background-color: #111;
border: 1px solid #fff;
}
.menu ul li {
padding: 0px;
}
.menu > ul > li {
display: inline-block;
}
.menu ul li a {
display: block;
text-decoration: none;
color: #fff;
font-size: 18px;
height:100%;
}
.menu ul li a:hover {
background: #111;
color: #fff;
}
.menu ul li.hover > a {
background: #111;
color: #FFF;
}
.menu ul li > a {
padding: 15px;
}
.menu ul ul {
display: none;
position: absolute;
top: 100%;
min-width: 160px;
background: #111;
}
.menu ul li:hover > ul {
display: block;
}
.menu ul ul > li {
position: relative;
}
.menu ul ul > li a {
padding: 10px 15px;
height: auto;
background: #0c6aff;
}
.menu ul ul > li a:hover {
background: #111;
color: #fff;
}
.menu ul ul ul {
position: absolute;
left: 100%;
top: 0;
}
@media all and (max-width: 860px) {
.example-header .container {
width: 100%;
}
#search {
color: #fff;
padding: 0px 20px 0px 5px;
margin-top:25px;
}
.spinner-master * {
transition: all 0.3s;
box-sizing: border-box;
}
.spinner-master {
position: relative;
margin: 15px;
height: 30px;
width: 30px;
float: left;
}
.spinner-master label {
cursor: pointer;
position: absolute;
z-index: 99;
height: 100%;
width: 100%;
top: 5px;
left: 0;
}
.spinner-master .spinner {
position: absolute;
height: 4px;
width: 100%;
padding: 0;
background-color: #fff;
}
.spinner-master .diagonal.part-1 {
position: relative;
float: left;
}
.spinner-master .horizontal {
position: relative;
float: left;
margin-top: 4px;
}
.spinner-master .diagonal.part-2 {
position: relative;
float: left;
margin-top: 4px;
}
.spinner-master input[type=checkbox]:checked ~ .spinner-spin > .horizontal {
opacity: 0;
}
.spinner-master input[type=checkbox]:checked ~ .spinner-spin > .diagonal.part-1 {
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
margin-top: 10px;
}
.spinner-master input[type=checkbox]:checked ~ .spinner-spin > .diagonal.part-2 {
transform: rotate(-135deg);
-webkit-transform: rotate(-135deg);
margin-top: -12px;
}
a.menu-link {
display: block;
color: #fff;
float: left;
text-decoration: none;
padding: 10px 16px;
font-size: 1.5em;
}
a.menu-link:hover {
color: #efa666;
}
a.menu-link:after {
content: “2630”;
font-weight: normal;
}
a.menu-link.active:after {
content: “2715”;
}
.menu {
clear: both;
min-width: inherit;
float: none;
  top:0px;
  position:relative;
}
.menu, .menu > ul ul {
overflow: hidden;
max-height: 0;
background-color: #39484d;
}
.menu > li > ul.sub-menu {
padding: 0px;
border: none
}
.menu.active, .menu > ul ul.active {
max-height: 55em;
}
.menu ul {
display: inline;
}
.menu li, .menu > ul > li {
display: block; 
}
.menu > ul > li:last-of-type a {
border: none;
}
.menu li a {
color: #fff;
display: block;
padding: 0.8em;
position: relative;
}
.menu li.has-submenu > a:after {
content: ‘+’;
position: absolute;
top: 0;
right: 0;
display: block;
font-size: 1.5em;
padding: 0.55em 0.5em;
}
.menu li.has-submenu > a.active:after {
content: “-“;
}
.menu ul ul > li a {
background:#0c6aff;
padding: 10px 18px 10px 30px;
border-bottom: 1px solid #111;
}
.menu ul li a:hover {
background: #4b5f65;
color: #fff;
}
.menu ul li.hover > a {
background: #111;
color: #fff;
}
.menu ul ul, .menu ul ul ul {
display: inherit;
position: relative;
left: auto;
top: auto;
border: none;
}
.search_box.active {
position: absolute;
top: 63px;
z-index: 10;
width:70%;
  right:2px;
}
.search_box input {
width: 50%;
  float:left;
}
.search_box input.search_icon {
width: 30%;
  float:right;
  margin-right:14px;
  margin-top:-37px;
}
}


paste the following given Script sheet just before </head>

 <script src=’http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js’ type=’text/javascript’/>
<link href=’http://netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.css’ rel=’stylesheet’/>


now again search for </header> teg and paste following html code just below.

  ↓↓ 


<!– Sticky-Menu-Start –>
   <div class=’nav_wrapper’>
<!–<a class=”menu-link” href=”#menu”></a>–>
<div class=’ct-wrapper’>
 <div class=’spinner-master’>
  <input id=’spinner-form’ type=’checkbox’/>
  <label class=’spinner-spin’ for=’spinner-form’>
    <div class=’spinner diagonal part-1’/>
    <div class=’spinner horizontal’/>
    <div class=’spinner diagonal part-2’/>
  </label>
</div>
  <a class=’btn’ href=’#search_box’ id=’search’><i class=’fa fa-search’/></a>
<nav class=’menu’ id=’menu’>
 <ul class=’dropdown’>
   <li><a href=’/’ title=’Link’><i aria-hidden=’true’ class=’fa fa-home’/> Home</a></li>
   
   <li><a href=’#’ title=’Link’>DropDown A</a>
<ul>
<li><a href=’#’ title=’Link’>Dopdown 1</a></li>
   <li><a href=’#’ title=’Link’>Dopdown 2</a></li>
  <li><a href=’#’ title=’Link’>Dopdown 3</a></li>
     </ul>
</li>
  <li><a href=’#’ title=’Link’>DropDown B</a>
<ul>
<li><a href=’#’ title=’Link’>Dopdown 1</a></li>
   <li><a href=’#’ title=’Link’>Dopdown 2</a></li>
  <li><a href=’#’ title=’Link’>Dopdown 3</a></li>
     </ul>
  </li>
   <li><a href=’#’ title=’Link’> DropDown C</a>
<ul>
<li><a href=’#’ title=’Link’>Dopdown 1</a></li>
   <li><a href=’#’ title=’Link’>Dopdown 2</a></li>
  <li><a href=’#’ title=’Link’>Dopdown 3</a></li>
     </ul>
  </li>
  </ul>
  </nav>
<form action=’/search’ class=’search_box’ id=’search_box’> <input name=’q’ placeholder=’Search here’ type=’text’ value=”/> <input class=’search_icon’ type=’submit’ value=’Search’/> </form>
</div><!– /ct-wrapper –>
    </div><!– /sub-nav-menu –>
<!– /Sticky-Menu-Ends –> 


now again search for </body> teg and paste following script code just above of it.

  ↓↓

<script type=’text/javascript’>
$(&quot;ul li:has(ul)&quot;).addClass(&quot;has-submenu&quot;);
$(&quot;ul li ul&quot;).addClass(&quot;sub-menu&quot;);
$(&quot;ul.dropdown li&quot;).hover(function() {
  $(this).addClass(&quot;hover&quot;)
}, function() {
  $(this).removeClass(&quot;hover&quot;)
});
var $menu = $(&quot;#menu&quot;),
  $menulink = $(&quot;#spinner-form&quot;),
  $search = $(&quot;#search&quot;),
  $search_box = $(&quot;.search_box&quot;),
  $menuTrigger = $(&quot;.has-submenu &gt; a&quot;);
$menulink.click(function(e) {
  $menulink.toggleClass(&quot;active&quot;);
  $menu.toggleClass(&quot;active&quot;);
  if ($search.hasClass(&quot;active&quot;)) {
    $(&quot;.menu.active&quot;).css(&quot;padding-top&quot;, &quot;50px&quot;)
  }
});
$search.click(function(e) {
  e.preventDefault();
  $search_box.toggleClass(&quot;active&quot;)
});
$menuTrigger.click(function(e) {
  e.preventDefault();
  var t = $(this);
  t.toggleClass(&quot;active&quot;).next(&quot;ul&quot;).toggleClass(&quot;active&quot;)
})
</script>

now click on Save Template. That's it

I hope you enjoyed this Awesome  Style Drop Down Menu With Search Box and the techniques I used. Please share this if you like it

Drop Down Menu with Search Box in CSS3 and HTML


after click on options



very easy to edit the stylish menu. first go to blogger account and click on theme  /Template ↓↓



Click  on  and now find ]]></b:skin> then paste the following given CCS code just before ]]></b:skin>



  ↓↓

.nav {
 background: #232323;
 height: 60px;
 display: inline-block;
}

.nav li {
 float: left;
 list-style-type: none;
 position: relative;
}
.nav li a {
    font-size: 16px;
    color: white;
    display: block;
    line-height: 60px;
    padding: 0 26px;
    text-decoration: none;
    border-left: 1px solid #2e2e2e;
    font-family: Montserrat, sans-serif;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}
.nav li a:hover {
    background-color: #2e2e2e;
}
 
#settings a {
    padding: 18px;
    height: 24px;
    font-size: 10px;
    line-height: 24px;
}
#search {
    width: 357px;
    margin: 4px;
}
#search_text{
    width: 297px;
    padding: 15px 0 15px 20px;
    font-size: 16px;
    font-family: Montserrat, sans-serif;
    border: 0 none;
    height: 52px;
    margin-right: 0;
    color: white;
    outline: none;
    background: #1f7f5c;
    float: left;
    box-sizing: border-box;
    transition: all 0.15s;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color: white;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: white;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: white;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: white;
}
#search_text:focus {
    background: rgb(64, 151, 119);
}
#search_button {
    border: 0 none;
    background: #1f7f5c url(https://3.bp.blogspot.com/-n7tsi6TpWC8/WSbIkatFqYI/AAAAAAAAAK0/IweqrUxKk1U_ysXGFLGQ_MVPl5uYoCGiQCLcB/s1600/search.png) center no-repeat;
    width: 60px;
    float: left;
    padding: 0;
    text-align: center;
    height: 52px;
    cursor: pointer;
}
#options a{
    border-left: 0 none;
}
#options>a {
    background-image: url(triangle.png);
    background-position: 85% center;
    background-repeat: no-repeat;
    padding-right: 42px;
}
.subnav {
    visibility: hidden;
    position: absolute;
    top: 110%;
    right: 0;
    width: 200px;
    height: auto;
    opacity: 0;
    transition: all 0.1s;
    background: #232323;
}
.subnav li {
    float: none;
}
.subnav li a {
    border-bottom: 1px solid #2e2e2e;
}
#options:hover .subnav {
    visibility: visible;
    top: 100%;
    opacity: 1;
}
@import url(http://fonts.googleapis.com/css?family=Montserrat);
 
* {
    margin: 0;
    padding: 0;
}


now again search for </header> teg and paste following Html code just below.

  ↓↓

<ul class="nav">
    <li id="settings">
        <a href="#"><img src="https://1.bp.blogspot.com/-jd8I18WFrj4/WScQRahHMvI/AAAAAAAAALY/6ySd6eC52SIpaJkg9Uin-m6Y_VEaauWhwCLcB/s1600/settings%2Bcopy.png" /></a></i>
    </li>
    <li> <a href="#"> Application</a>
    </li>
    <li>
        <a href="#">Board</a>
    </li>
    <li id="search">
        <form action="" method="get">
            <input type="text" name="search_text" id="search_text" placeholder="Search"/>
            <input type="button" name="search_button" id="search_button"></a>
        </form>
    </li>
    <li id="options">
        <a href="#">Options</a>
        <ul class="subnav">
            <li><a href="#">Settings</a></li>
            <li><a href="#">Application</a></li>
            <li><a href="#">Board</a></li>
            <li><a href="#">Options</a></li>
        </ul>
    </li>
</ul>
 
<script src="prefixfree-1.0.7.js" type="text/javascript"></script>
now click on Save Template. That's it

I hope you enjoyed this Awesome  Style Drop Down Menu With Search Box and the techniques I used. Please share this post if you like it

Awesome Style Drop Down Menu With Search Box



very easy to edit the stylish menu. first go to blogger account and click on theme  /Template ↓↓


Click  on  and now find ]]></b:skin> then paste the following given CCS code just before ]]></b:skin>


  ↓↓

#imenu {
background: #5e5e5e; /* Old browsers */
background: -moz-linear-gradient(top, #8a8a8a 0%, #707070 49%, #5e5e5e 51%, #777777 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8a8a8a), color-stop(49%,#707070), color-stop(51%,#5e5e5e), color-stop(100%,#777777)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* IE10+ */
background: linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* W3C */    
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
color: #fff;
border: none;
text-decoration: none;
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.15);
overflow: visible;
-moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
-webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
-webkit-appearance: none;
margin-bottom: 15px;
margin-left:0px;
}

#halfnav{float:right;}
#halfnav ul, #halfnav ul li{display:inline;list-style:none;padding:0;margin:0}
#halfnav ul li a{
display:inline-block;
margin: 5px;
font-family:'Lucida Grande',Helvetica,Arial,Verdana,sans-serif;
font-size:16px;
padding: 5px;
color:#fff;
line-height:20px;
text-decoration:none;
background: #5e5e5e; /* Old browsers */
background: -moz-linear-gradient(top, #8a8a8a 0%, #707070 49%, #5e5e5e 51%, #777777 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8a8a8a), color-stop(49%,#707070), color-stop(51%,#5e5e5e), color-stop(100%,#777777)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* IE10+ */
background: linear-gradient(top, #8a8a8a 0%,#707070 49%,#5e5e5e 51%,#777777 100%); /* W3C */
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
text-shadow: 0 -1px 1px rgba(0,0,0,0.28);
border: 1px solid #666;    
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
#halfnav ul li a:hover{border: 1px solid #222;box-shadow:inner 0 0 5px #000;-moz-box-shadow:inset 0 0 5px #000;-webkit-box-shadow:inset 0 0 5px#000;background:#444}
#halfnav .current-menu-item a{border: 1px solid #000;}

#nav{position:relative;z-index:2000}
#nav .parent > a, #nav .parent > a:hover{background-image:url(../images/arrow.png);background-position:right;background-repeat:no-repeat}
#nav ul ul .parent > a, #nav ul ul .parent:hover > a:hover, #nav ul ul li:hover ul .parent > a, #nav ul ul li:hover ul .parent > a:hover{background-image:url(../images/arrow-right.png);background-position:right;background-repeat:no-repeat}
#nav ul, #nav ul li{display:inline;list-style:none;padding:0;margin:0}
#nav ul li a{display:inline-block;font-family:'Lucida Grande',Helvetica,Arial,Verdana,sans-serif;font-size:14px;color:#fff;line-height:36px;text-decoration:none;text-shadow:1px 1px 1px #333;padding:0 15px;margin-left:-4px;border-right:#777 1px solid}
#nav ul li a:hover{box-shadow:inner 0 0 5px #000;-moz-box-shadow:inset 0 0 5px #000;-webkit-box-shadow:inset 0 0 5px#000;background:#444}
#nav .current-menu-item a{color:#ccc;}
#nav .current-menu-item .sub-menu a{color:#fff;text-shadow:1px 1px 1px #333}
#nav .menu > li:first-child a:hover{border-radius:0}
#nav .menu .sub-menu li a:hover{border-radius:0}
#nav ul li{position:relative}
#nav li ul{display:none;position:absolute;top:27px;left:7px}
#nav li ul a{background:#555}
#nav ul ul li:hover ul, #nav ul ul ul li:hover ul{left:0;margin:-37px 0 11px 180px}
#nav ul li:hover ul{display:inline-block}
#nav ul ul, #nav ul li:hover ul ul, #nav ul ul li:hover ul ul{display:none}
#nav ul li:hover ul, #nav ul ul li:hover ul, #nav ul ul ul li:hover ul{display:block}
#nav ul li:hover ul li a, #nav ul ul li:hover ul li a, #nav ul ul ul li:hover ul li a{border:#777 1px solid;margin:-1px 0 0 -11px}
#nav ul li:hover ul li a{width:150px;padding:0 14px}
#nav ul ul li:hover ul li a{width:150px;padding:0 14px;background-color:#888}
#nav ul ul ul li:hover ul li a{width:150px;padding:0 14px;background-color:#aaa}
#nav .children {z-index: 4000;}

#home {float: left;border-right:#777 1px solid;margin-right:4px;margin-left:15px; height: 36px;}
#home a:hover{opacity: .5}
#nohome {float: left; margin-right:4px;margin-left:5px; height: 35px;}

.searchform {
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
width: 160px;
padding: 0;
margin: 7px 5px 5px 10px;
height: 20px;
box-shadow:inset 0 0 1px #222;
background: #fff;
float: right;
margin-right: 20px;
}

.center .searchform {float:none;}

#morefoot .searchform {float:left;}

.searchform .s{
margin:0;
border: none;
margin: 3px 2px 2px 20px;
font-size: 12px;
height: 14px;
width:    130px;
color: #333;
overflow: hidden;
}
#magnify {float:left;position:absolute;margin: 2px 0 0 5px;}

#magnify {margin: 0 0 0 5px\0/IE8+9; /* IE8+9  */}

.searchform .s:focus {outline:0; border:none;}

.searchform .searchsubmit {display:none;}

.row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; }
/* To fix the grid into a certain size, set max-width to width */
.row .row { min-width: 0; }
.column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; }
.column:first-child, .columns:first-child { margin-left: 0; }
[class*="column"] + [class*="column"]:last-child { float: right; }
.row .three     { width: 21.679%; }
.row .nine         { width: 73.9%; }
.row .ten         { width: 82.6%; }
.row .twelve     { width: 100%; }


You can add this HTML code in any place of your site/blog. If you are using WordPress than add below HTML code in your header.php file and If you are using Blogspot than add below code in header gadget (widget) ;)

  ↓↓

<div class="container">
        <div class="row">
            <div class="twelve columns" id="imenu">
            <div id="nav" class="nine columns">
             <div id="home"><a href="http://marvblues.com"><img src="http://4.bp.blogspot.com/-btThtilNthE/T6dLHDZq9tI/AAAAAAAAAiw/E6bSVbOCeH4/s320/home.png" alt="home"></a></div>                           
     <ul id="nav_menu">
        <li><a href="#">Tutorials</a>
             <ul>
                 <li><a href="#">HTML / CSS</a></li>
                 <li><a href="#">JS / jQuery</a>
                     <ul>
                         <li><a href="#">jQuery</a></li>
                         <li><a href="#">JS</a></li>
                     </ul>
                 </li>
                 <li><a href="#">PHP</a></li>
                 <li><a href="#">MySQL</a></li>
                 <li><a href="#">XSLT</a></li>
                 <li><a href="#">Ajax</a></li>
             </ul>
         </li>
         <li><a href="#">Resources</a>
             <ul>
                 <li><a href="#">By category</a>
                     <ul>
                         <li><a href="#">PHP</a></li>
                         <li><a href="#">MySQL</a></li>
                         <li><a href="#">XSLT</a></li>
                         <li><a href="#">Ajax</a></li>
                     </ul>
                 </li>
                 <li><a href="#">By tag name</a>
                     <ul>
                         <li><a href="#">captcha</a></li>
                         <li><a href="#">gallery</a></li>
                         <li><a href="#">animation</a></li>
                     </ul>
                 </li>
             </ul>
         </li>
         <li><a href="#">About</a></li>
         <li><a href="#">Contact Us</a></li>
         <li><a href="#">Go Back To The Tutorial</a></li>
    </ul>               </div>
                            <div class="three columns">

 <form method="get" class="searchform" action="http://abhwai.blogspot.in/">
     <div id="magnify"><img src="http://1.bp.blogspot.com/-Z-PCrVPeUKk/T6dLVTq-8ZI/AAAAAAAAAi8/n2DMxFGILwE/s320/magnify.png" alt="magnify"></div>
     <div><input name="s" class="s" value="Search" id="searchsubmit" onfocus="if (this.value == 'Search') this.value = '';" type="text"></div>
     <div><input class="searchsubmit" value="" type="submit"></div>
 </form>            </div>
                     </div>
     </div>
 </div>


Your turn

I hope you enjoyed this Awesome  Style Drop Down Menu With Search Box and the techniques I used. Please share this if you like it