title: Search Web Hover in HTML CSS
body: <p>I have my CSS and HTML like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.expanding-search-form {
    display: inline-block;
    width: auto;
  
  }
  .expanding-search-form .search-input {
   z-index: 2;
    height: 34px;
    width: 105px;
    float: left;
    transition: 250ms all ease-in-out;
  
  }
  .expanding-search-form .search-input:focus {
  background-color: white;
    width: 490px;
    height: 40px;
    
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form class="expanding-search-form"&gt;
      &lt;div class="input-group"&gt;
          &lt;span class="input-group-addon" id="basic-addon1"&gt;&lt;i class="material-icons"&gt;search&lt;/i&gt;&lt;/span&gt;
         &lt;input type="search" class="form-control search-input" placeholder="Search" aria-label="Daftar Saran" aria-describedby="basic-addon1"&gt;
     &lt;/div&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And the result like this:
  <a href="https://i.stack.imgur.com/XnAWb.png" rel="nofollow noreferrer">https://i.stack.imgur.com/XnAWb.png</a></p>
  
  <p>If my pointer not placed in search box it will look like the image:</p>
  
  <p>If my pointer placed in search box it will hovered and covered the menu.</p>
  
  <p>And now my problem is how to make the search box look like hovered but without the pointer placed in search box and covered the menu, thanks.</p>