title: Input next to button - Changing font size of button changes layout
body: <p>I would like the input and the button to line up pixel perfectly. Why does changing the font size of a button element change the layout? I know this can fixed by changing the <code>vertical-align</code> style from baseline to something else, but I am not sure why I need to make this change? Is there another fix related to font sizing that would make these elements line up?</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>input {
    height: 30px;
    box-sizing: border-box;
  }
  
  button {
    background-color:blue;
    color: white;
    border: none;
    height: 30px;
    font-size: 5px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="text"&gt;&lt;button&gt;I&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>