<table>
  
  <thead>
    <th></th>
    <th>Archbee</th>
    <th>Notion</th>
    <th>Bookstack</th>
    <th>Docusaurus</th>
  </thead>
  
  <tbody>
    <tr>
      <td data-label="name">Use Case</td>
      <td data-label="war">Customer Facing Portals</td>
      <td data-label="ba">Team wiki</td>
      <td data-label="obp">Customer Facing Portals</td>
      <td data-label="slg">Customer Facing Portals</td>
    </tr>
      
      <tr>
      <td data-label="name">Reviews</td>
      <td data-label="war">4.7</td>
      <td data-label="ba">4.8</td>
      <td data-label="obp">3.7</td>
      <td data-label="slg">4.6</td>
    </tr>
      
      <tr>
      <td data-label="name">Support</td>
      <td data-label="war">Email</td>
      <td data-label="ba">Email</td>
      <td data-label="obp">Community</td>
      <td data-label="slg">Community</td>
    </tr>
      
      <tr>
      <td data-label="name">UI/UX</td>
      <td data-label="war">Easy-to-use</td>
      <td data-label="ba">Easy-to-use</td>
      <td data-label="obp">Hard to set up</td>
      <td data-label="slg">Hard to set up</td>
    </tr>
     <tr>
      <td data-label="name">Pricing</td>
      <td data-label="war">Free plan available</td>
      <td data-label="ba">Free plan available</td>
      <td data-label="obp">Open-source, Free</td>
      <td data-label="slg">Open-source, Free</td>
    </tr>
  </tbody>
  
</table>


table {
  width: 100%;
  border-spacing: 0;
  border-radius: 1em;
  overflow: hidden;
}

thead {
 visibility: hidden;
 position: absolute;
 width: 0;
 height: 0;
}

th {
  background: #215A8E;
  color: #fff;
}

td:nth-child(1) {
  background: #215A8E;
  color: #fff;
  border-radius: 1em 1em 0 0;
}

th, td {
  padding: 1em;
}

tr, td {
  display: block;
}

td {
  position: relative;
}

td::before {
  content: attr(data-label);
  position: absolute;
  left: 0;
  padding-left: 1em;
  font-weight: 600;
  font-size: .9em;
  text-transform: uppercase;
}

tr {
  margin-bottom: 1.5em;
  border: 1px solid #ddd;
  border-radius: 1em;
  text-align: right;
}

tr:last-of-type {
  margin-bottom: 0;
}

td:nth-child(n+2):nth-child(odd) {
  background-color: #ddd;
}


@media only screen and (min-width: 768px) {
  
  table {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #ddd;
  }
  
  thead {
    visibility: visible;
    position: relative;
  }
  
  th {
    text-align: left;
    text-transform: uppercase;
    font-size: .9em;
  }
  
  tr {
    display: table-row;
    border: none;
    border-radius: 0;
    text-align: left;
  }
  
  tr:nth-child(even) {
  background-color: #ddd;
}
  
  td {
    display: table-cell;
  }
  
  td::before {
    content: none;
  }
  
  td:nth-child(1) {
    background: transparent;
    color: #444;
    border-radius: 0;
  }
  
  td:nth-child(n+2):nth-child(odd) {
    background-color: transparent;
  }
  
  
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.