JSFiddle - React, Tailwind, and code Playground

HTML

<div class="outter">
  <div class="header">This is a header</div>
  <div class="content">
    <table class="tableClass">
      <thead>
        <tr>
          <th>COL 1</th>
          <th>COL 2</th>
          <th>COL 3</th>
          <th>COL 4</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>1</td>
          <td>This is some text in row 1</td>
          <td>1</td>
          <td>3</td>
        </tr>
        <tr>
          <td>2</td>
          <td>This is some text in row 2</td>
          <td>1</td>
          <td>3</td>
        </tr>
        <tr>
          <td>3</td>
          <td>This is some text in row 3</td>
          <td>3,4,5</td>
          <td>1</td>
        </tr>
        <tr>
          <td>4</td>
          <td>This is some text in row 4</td>
          <td>2,6,7</td>
          <td>2</td>
        </tr>
      </tbody>
    </table>
    <div>
      Another Div
    </div>
    <div class="footerClass">
      This is a footer
    </div>
  </div>
</div>

CSS

html,
body {
  height: 100%;
  width: 100%;
  margin: 0px;
}

.outter {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: red;
}

.header {
  background-color: gray;
  height: 3em;
}

.content {
  height: 100%;
  background-color: green;
}

.footerClass {
  background: yellow;
  height: 3em;
}

.tableClass {
  margin: 10px;
  height: 100%;
  width: 100%;
  border: 2px solid;
  border-collapse: collapse;
  border-spacing: 0;
}

.tableClass th,
.tableClass td{
    border: 1px solid black;
}