<table>
  <thead>
    <tr>
      <th>&nbsp;</th>
      <th>th</th>
      <th>th</th>
      <th>th</th>
      <th>th</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>th</th>
      <td>td</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
    </tr>
    <tr>
      <th>th</th>
      <td>td</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
    </tr>
    <tr>
      <th>th</th>
      <td>td</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
    </tr>
  </tbody>
</table>
body{
  padding:30px;
}
table {
  border: 1px solid #aaa;
  border-collapse: separate;
  overflow: hidden;
  border-spacing: 0;
  border-radius: 10px;

  th {
    background: #ddd;
  }

  td {
    background: #fff;
  }

  thead {
    th {
      padding: .6em 3em;
      border-bottom: 1px solid #aaa;

      +th {
        border-left: 1px solid #aaa;
      }
    }
  }

  tbody {

    th,
    td {
      padding: .6em 3em;
      border-bottom: 1px solid #aaa;
    }

    td {
      border-left: 1px solid #aaa;
    }

    tr:last-child {

      th,
      td {
        border-bottom: none;
      }
    }
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.