title: How to make a vertical input field?
body: <p>This is what I want. A vertical input field, the 'x' is the close button:</p>
  
  <p><a href="https://i.stack.imgur.com/NRvl1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NRvl1.png" alt="enter image description here"></a></p>
  
  <p>This is what I have so far:</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>*{
    margin:0;
    padding:0;
  }
  html,body{
    height:100%;
    width:100%;
  }
  .sidenav{
    height:100%;
    width:20%;
    background:#111;
    overflow-x:hidden;
    box-sizing:border-box;
    padding:calc((20% - 50px)/2);
  }
  .sidenav a{
    position:relative;
    bottom:18px;
    font-size:90px;
    color:#818181;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='sidenav''&gt;
    &lt;a&gt;&amp;times&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I know how to make a regular, bare-boned html input field:</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-html lang-html prettyprint-override"><code>&lt;form&gt;
    &lt;input type=text placeholder='enter name'&gt;&lt;/input&gt;
    &lt;input type='submit' id='submit'&gt;&lt;/input&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>EDIT</strong>: I want to integrate it to make a stylistically uniform, like this search bar from CodePen:</p>
  
  <p><a href="https://i.stack.imgur.com/92ePy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/92ePy.png" alt="enter image description here"></a></p>