title: How to increase the height of the drop-down menu in css?
body: <p>I have a screenshot below which I have to replicate in HTML, CSS and JS. 
  <br><br></p>
  
  <p><a href="https://i.stack.imgur.com/uQ3U9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uQ3U9.jpg" alt="enter image description here"></a></p>
  
  <p>At this moment, I am able to replicate this in <a href="https://jsfiddle.net/nc2djn5p/23/embedded/result/" rel="nofollow noreferrer">fiddle</a>. </p>
  
  <p>The HTML and CSS codes which I have used for the drop-down menu is:</p>
  
  <p><strong>HTML:</strong></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;div style=""&gt;
              &lt;img tabindex="1" src="https://s9.postimg.org/d6s4xvykv/Ellipsis.png" id="ellipsis"&gt;
              &lt;div class="dropdown"&gt;
                  &lt;li&gt;&lt;a href="#"&gt;View Status&lt;/a&gt;&lt;i class="fa fa-angle-down" aria-hidden="true"&gt;&lt;/i&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Release Bills&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Add Attendee&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Export as&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;View in Google Sheets&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Send Notifications&lt;/a&gt;&lt;/li&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
  
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>CSS</strong>:</p>
  
  <pre><code>.nav-top-searchbar {
      position: relative;
  }
  
  #ellipsis {
      top: 12px;
      position: absolute;
      right: 43px;
  }
  
  #ellipsis:focus {
      outline: none;
  }
  
  #ellipsis:focus+.dropdown {
      display: block;
  }
  
  input[type=text] {
      width: 100%;
      background: #10314c;
  }
  
  .dropdown {
      background-color: #FFFFFF;
      display: none;
      padding-left: 2%;
      position: absolute;
      height: 150px;
      right: 0;
      width: 200px;
      z-index: 10;
      list-style-type: none;
  }
  
  .dropdown a {
      color: #676767;
      font-weight: bold;
      font-size: 16px;
  }
  
  .dropdown li:hover {
      background-color: #EDEDED;
  }
  
  .searchicon {
      float: left;
      margin-top: -20px;
      position: relative;
      top: 26px;
      left: 8px;
      color: white;
      border: 1px #FFFFFF;
      z-index: 2;
  }
  </code></pre>
  
  <p><br>
  <strong>Problem Statement:</strong></p>
  
  <p>The problem in my fiddle is if I click on the three dots, the drop-down starts from the bottom section of the search bar. </p>
  
  <p>I am wondering what changes <code>I need to do in the CSS code so that it starts from the upper section of the search bar</code> as marked in the arrow sign of the screenshot.  </p>