title: How to set the font size and Font Awesome Icons on same height
body: <p>1) All the elements in the first div have font-size 16px. But it looks like the Facebook icon is taller than the twitter icon. How can I make it, that it has same height?</p>
  
  <p><a href="https://i.stack.imgur.com/wNgFE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wNgFE.png" alt="Facebook Icon taller than Twitter Icon"></a></p>
  
  <p>2) The Facebook icon in the second div look like it is taller than the font-size and the Twitter icon looks like it is smaller than the font-size. How can I change the height of the icons, that they have the same height like the font-size?</p>
  
  <p><strong>Or know someone an alternative to font-awesome where all icons have same height?</strong></p>
  
  <p>Here's my current code <strong>(YOU SHOULD CLICK ON "Run Code Snippet" -> "FULL PAGE"):</strong></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>/* ########################################################################## */
  /* Global Settings */
  /* ########################################################################## */
  
  html, body{
    width: 100%;
    height:100%;
    font-family: Arial, sans-serif;
    font-size: 16px;
  }
  
  *{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
  }
  
  /* ########################################################################## */
  /* Clearfix-Hack */
  /* ########################################################################## */
  
  .clearfix::after{
   content:"";
   clear:both;
   display: block;
  }
  
  /* ########################################################################## */
  /* Entire Page */
  /* ########################################################################## */
  
  .entire-page{
    margin: 0 15%;
  }
  
  
  /* ########################################################################## */
  /*  Menu */
  /*  ########################################################################## */
  
  .container{
    width:100;
    text-align:center;
  }
  
  nav a{
    text-decoration: none;
    color: #666;
  
  }
  
  nav li{
   float: left;
    background-color: #aaa;
    padding: 30px 30px;
  }
  
  .group2{
    display: inline-block;
    margin:0 auto;
  }
  
  .group2 .fa-facebook,
  .group2 .fa-twitter{
    font-size:16px;
    line-height:16px;
    vertical-align:baseline;
  }
  
  .social-icons:hover{
    color:#E95D0F;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"&gt;
    &lt;link rel="stylesheet" type="text/css" href="src/css/styles.css"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
    &lt;div class="entire-page"&gt;
  
      &lt;!-- ########################################################################## --&gt;
      &lt;!--  Menu --&gt;
      &lt;!--  ########################################################################## --&gt;
      &lt;nav&gt;
        &lt;ul&gt;
  
          &lt;div class="container"&gt;
  
            &lt;div class="group1"&gt;
              &lt;li&gt;&lt;a class="social-icons" href="#"&gt;&lt;span&gt;&lt;i class="fa fa-facebook" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt; Facebook&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a class="social-icons" href="#"&gt;&lt;span&gt;&lt;i class="fa fa-twitter" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt; Twitter&lt;/a&gt;&lt;/li&gt;
            &lt;/div&gt;
  
            &lt;div class="group2"&gt;
              &lt;li&gt;&lt;a class="social-icons" href="#"&gt;&lt;span&gt;&lt;i class="fa fa-facebook" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt; Facebook&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a class="social-icons" href="#"&gt;&lt;span&gt;&lt;i class="fa fa-twitter" aria-hidden="true"&gt;&lt;/i&gt;&lt;/span&gt; Twitter&lt;/a&gt;&lt;/li&gt;
            &lt;/div&gt;
  
            
  
          &lt;/div&gt;
  
        &lt;/ul&gt;
      &lt;/nav&gt;
  
    &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>