title: How do I bottom-align bars in a CSS vertical bar chart?
body: <p>I am experimenting with two different bar charts I created using HTML and CSS: horizontal and vertical. How do I move the bars in my vertical bar chart from the center to the bottom?</p>
  
  <p><a href="https://i.stack.imgur.com/291Di.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/291Di.png" alt="enter image description here"></a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
      font-family: Arial, Helvetica, sans-serif;
  }
  
  /* Global */
  .stat-table-horz, .stat-table-vert {
      border-collapse: collapse;
  }
  .bar {
       background: #0c0;
  }
  
  /* Horizontal bar chart */
  .stat-table-horz td:first-of-type {
      padding: 5px;
  }
  .stat-table-horz td:nth-of-type(2) {
      border-top: 1px solid #090;
      border-bottom: 1px solid #090;
      padding: 0;
      width: 240px;
  }
  .stat-table-horz td .horz-bar {
      height: 30px;
  }
  
  /* Vertical bar chart */
  .stat-table-vert tr:nth-of-type(2) td {
      padding: 5px;
  }
  .stat-table-vert tr:first-of-type td {
      border-left: 1px solid #090;
      border-right: 1px solid #090;
      padding: 0;
      height: 160px;
      width: 80px;
  }
  .stat-table-vert td .vert-bar {
      
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
  &lt;table class="stat-table-horz"&gt;
      &lt;tr&gt;
          &lt;td&gt;Health&lt;/td&gt;
          &lt;td&gt;
              &lt;!-- First bar --&gt;
              &lt;div class="bar horz-bar" style="width: 10%;"&gt;&lt;/div&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Attack&lt;/td&gt;
          &lt;td&gt;
              &lt;!-- Second bar --&gt;
              &lt;div class="bar horz-bar" style="width: 90%;"&gt;&lt;/div&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Speed&lt;/td&gt;
          &lt;td&gt;
              &lt;!-- Third bar --&gt;
              &lt;div class="bar horz-bar" style="width: 60%;"&gt;&lt;/div&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;br&gt;
  &lt;table class="stat-table-vert"&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;!-- First bar --&gt;
              &lt;div class="bar vert-bar" style="height: 10%;"&gt;&lt;/div&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;!-- Second bar --&gt;
              &lt;div class="bar vert-bar" style="height: 90%;"&gt;&lt;/div&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;!-- Third bar --&gt;
              &lt;div class="bar vert-bar" style="height: 60%;"&gt;&lt;/div&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Health&lt;/td&gt;
          &lt;td&gt;Attack&lt;/td&gt;
          &lt;td&gt;Speed&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My original JSFiddle: <a href="https://jsfiddle.net/jkantner/b7aa2yu1/" rel="nofollow noreferrer">https://jsfiddle.net/jkantner/b7aa2yu1/</a></p>