<table>
    <tr>
      <th>&nbsp;</th>
      <th>th</th>
      <th>th</th>
      <th>th</th>
      <th>th</th>
    </tr> 

    <tr>
      <td>td</td>
      <td>td</td>
      <td >td</td>
      <td>td</td>
      <td>td</td>
    </tr>
    <tr>
      <td>th</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
    </tr>
    <tr>
      <td>th</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
      <td>td</td>
    </tr>
</table>
body {
  padding: 30px;
}

table {
  border: 1px solid #aaa;
  border-collapse: separate;
  overflow: hidden;
  border-spacing: 0;
  border-radius: 10px;
  text-align:center;

  th,td {
    padding: .6em 3em;
    vertical-align: middle;

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

  th {
    background: #ddd;
  }

  td {
    background: #fff;
  }

  tr+tr {
    th,td{
    border-top: 1px solid #aaa;
      }
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.