title: How do I vertically align an input in a DIV
body: <p>I'm creating a website, and I have a login-field that contains two inputs. I want to vertically align those items inside the DIV.</p>
  
  <p>Here's my HTML:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Instagram tweaks&lt;/title&gt;
      &lt;link rel="stylesheet" href="style.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;header&gt;
          &lt;p&gt;INSTATWEAKS&lt;/p&gt;
      &lt;/header&gt;
      &lt;div class="loginbar"&gt;
          &lt;input type="text"    name="username" id="username" class="input"&gt;
          &lt;input type="password" name="password" id="password" class="input"&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And the CSS:</p>
  
  <pre><code>.loginbar {
      width: 800px;
      height: 400px;
      box-sizing: border-box;
      margin: auto auto;
      display: block;
      box-shadow: 0 0 10px black;
      color: orange;
      margin-top: 200px;
  }
  
  header {
      width: 100%;
      height: 50px;
      text-align: center;
      background-color: #111;
      position: absolute;
      top: 0;
  }
  
  body {
      margin: 0;
      padding: 0;
  }
  
  .input {
      font-size: 22px;
      vertical-align: text-top;
      text-align: center;
  }
  
  p {
      font-size: 30px;
      color: lightblue;
      margin-top: 10px;
      font-weight: bold;
  }
  </code></pre>
  
  <p>I want the inputs inside the div with the class 'loginbar' to be vertically centered</p>