JSFiddle - React, Tailwind, and code Playground

HTML

<div class="compare-table">
                <div class="row">
                    <div class="tablehead">1 header</div>
                    <div class="tablehead">2 header</div>
                    <div class="tablehead">3 header</div>
                    <div class="tablehead">4 header</div>
                    <div class="tablehead">5 header</div>
                </div>
            </div>
<div class="compare-table">                
                <a >
                    <div class="cell">my value 1</div>
                    <div class="cell">my value 2</div>
                    <div class="cell">my value 3</div>
                    <div class="cell">my value 4</div>
                    <div class="cell">my value 5</div>
                </a>
</div>

CSS

.compare-table {
  display: table;
  width: 100%;
  max-width: 1000px;
  padding: 0;
  margin: 0 auto;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
}

.tablehead {
  display: table-cell;
  padding: 26px 0 26px 38px;
  background-color: white;
  text-align: left;
  font-size: 13px;
  color: #9b9b9b;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

.cell {
  display: table-cell;
  padding: 32px 0 32px 38px;
  color: #9b9b9b;
  font-weight: 400;
  font-style: normal;
}

.compare-table .row .cell:first-child {
  color: #003668;
  font-weight: 900;
}

 .row {
  display: table-row;
  border-bottom: solid 1px #d9d9d9;
  cursor: pointer;
  -webkit-transition: background-color-color 0.3s ease-in-out;
  transition: background-color-color 0.3s ease-in-out;
}