title: How to create a drop-down list with white background on clicking a three dot image?
body: <p>I have a screenshot as shown below which I am trying to replicate in HTML, CSS and JS. </p>
  
  <p><a href="https://i.stack.imgur.com/tECCL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tECCL.png" alt="enter image description here"></a></p>
  
  <p>At this moment, I am able to replicate three dots image as shown in <a href="https://jsfiddle.net/Elharony/5a89bd3d/35/embedded/result/" rel="nofollow noreferrer">fiddle</a>. </p>
  
  <p>The <strong>HTML code</strong> belonging to three dots image is:</p>
  
  <pre><code>&lt;div class="nav-top-searchbar"&gt;
      &lt;form&gt;
          &lt;span class="fa fa-search searchicon" aria-hidden="true"&gt;&lt;/span&gt;
          &lt;input type="text" name="search"&gt;
          &lt;img src="https://s9.postimg.org/d6s4xvykv/Ellipsis.png" id="ellipsis"&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The <strong>CSS code</strong> belonging to three dots image is:</p>
  
  <pre><code>.nav-top-searchbar {
      position: relative;
  }
  
  #ellipsis {
      top: 12px; // Sounds good and a bit centered [ Vertically ]
      position: absolute;
      right: 20px;
  }
  
  input[type=text] {
      width: 100%;
      background: #10314c;
  }
  
  .searchicon {
      float: left;
      margin-top: -20px;
      position: relative;
      top: 26px;
      left: 8px;
      color: white;
      z-index: 2;
  }
  </code></pre>
  
  <p><strong>Problem Statement:</strong></p>
  
  <p>On clicking the three dots image, it should create a list of drop-downs (View Status, Release Bills, Add Attendee, Export as..., View in Google Sheets, Send Notifications) as shown above in the screenshot. I am wondering what changes I need to make in HTML and CSS codes in order to get the drop-down.   </p>