title: How can I create a div/button with stacked text inside?
body: <p>I've been trying to figure out how to produce this in CSS:</p>
  
  <p><a href="https://i.stack.imgur.com/uRLKW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uRLKW.png" alt="enter image description here"></a></p>
  
  <p>However, when I've tried this thus far, it's only partially been on track:</p>
  
  <p><a href="https://i.stack.imgur.com/5uAwn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5uAwn.png" alt="enter image description here"></a></p>
  
  <p>How can I fix the below CSS and HTML so that it works as a stacked text meter properly? I do have Bootstrap, and I'm using SCSS/SASS.</p>
  
  <p>A Pen with the same code, including the full menu, shows the same issue:
  <a href="https://codepen.io/anon/pen/zLYWZR" rel="nofollow noreferrer">https://codepen.io/anon/pen/zLYWZR</a></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>.buFontSize {
      font-size: 11px;
      padding: 0px;
  }
  
  .pointButton {
      display: block;
      border: rgba(255, 255, 255, 0.534) 1px solid !important;
      justify-content: center;
      padding: 0px !important;
  }
  
  .buttonBlock {
      display: block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>  &lt;nav class="navbar navbar-expand navbar-dark"&gt;
    
  
    &lt;div class="navbar" id="navbarText"&gt;
      &lt;a class="navbar-brand navBrand" href="#"&gt;Link One&lt;/a&gt;
      &lt;ul class="navbar-nav mr-auto"&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="#"&gt;Link Two&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="#"&gt;Link Three&lt;/a&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
  
    &lt;ul class="navbar-nav float-right"&gt;
        &lt;span class="btn pointButton"&gt;
          &lt;div class="buttonBlock"&gt;
              &lt;div class="row"&gt;
                  &lt;span class="buFontSize"&gt;Games&lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;span class="buFontSize"&gt;100000&lt;/span&gt;
              &lt;/div&gt;
          &lt;/div&gt;
        &lt;/span&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="#"&gt;&lt;i class="fas faSize fa-user-friends"&gt;&lt;/i&gt;&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="#"&gt;&lt;i class="far faSize fa-envelope"&gt;&lt;/i&gt;&lt;/a&gt;
        &lt;/li&gt;
      &lt;/ul&gt;      
  &lt;/div&gt;
    &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>