title: Align different font-sizes on same baseline
body: <p>I want to align texts with different font-sizes on the same baseline.</p>
  
  <p>"LOREM IPSUM SED" should be on same line as "sEa tAkImAtA SaNcTuS EsT LoReM Ip" and the same with "SED NONUMY INVIDUNT UT" and "nO SeA TaKiMaTa sAnCtUs eSt"</p>
  
  <p>I've already tried this which didn't worked:</p>
  
  <p><a href="https://stackoverflow.com/questions/17777816/aligning-different-font-sizes-on-the-same-line-of-text-so-it-looks-nice">Aligning different font sizes on the same line of text so it looks nice?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/3997983/how-to-vertically-align-2-different-sizes-of-text">How to vertically align 2 different sizes of text?</a></p>
  
  <p>Here's my current code:</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>html, body{
    width: 100%;
    height:100%;
    font-family: Arial, sans-serif;
    font-size: 1rem;
  }
  
  *{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
  }
  
  .clearfix::after{
   content:"";
   clear:both;
   display: block;
  }
  
  .entire-page{
    margin: 0 5%;
  }
  
  
  .header-content &gt; div{
    width:100%;
    padding: 30px 0;
  }
  
  .left{
    float:left;
  }
  .right{
   float: right;
  }
  
  .margin-right-header{
    margin-right: 30px;
  }
  
  .left-top{
    font-size:1.5rem;
    font-weight:300;
    color:#ff0000;
  }
  
  .left-top &gt; span &gt; span{
    font-weight:400;
  }
  
  .left-bottom &gt; span{
    font-size:0.5rem;
    font-weight:400;
    color:#999;
  }
  
  .left-bottom &gt; span &gt; span{
    font-weight:400;
  }
  
  .right-top{
    font-size:1rem;
    font-weight:300;
    color:#ff0000;
  }
  
  .right-bottom{
    font-size:1rem;
    font-weight:300;
    color:#999;
  }</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;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
      &lt;title&gt;Titel&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
    
   &lt;div class="entire-page"&gt;
  
    &lt;header class="clearfix"&gt;
     &lt;div&gt;
     
      &lt;div class="left"&gt;
        &lt;div class="left-top"&gt;&lt;span&gt;&lt;span&gt;LOREM IPSUM&lt;/span&gt; SED&lt;/span&gt;&lt;/div&gt;
        &lt;div class="left-bottom"&gt;&lt;span style="vertical-align:baseline;"&gt;SED &lt;span&gt;NONUMY&lt;/span&gt; INVIDUNT UT&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="right margin-right-header"&gt;
        &lt;div class="right-top"&gt;&lt;span&gt;sEa tAkImAtA SaNcTuS EsT LoReM Ip&lt;/span&gt;&lt;/div&gt;
        &lt;div class="right-bottom"&gt;&lt;span style="vertical-align:baseline;"&gt;nO SeA TaKiMaTa sAnCtUs eSt&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
    
     &lt;/div&gt;
    &lt;/header&gt;
   
   &lt;/div&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>