JSFiddle - React, Tailwind, and code Playground

HTML

<div id="table">
  <div class="header-row row">
<span class="cell">SI. No.</span>
    <span class="cell">Application Date</span>
    <span class="cell">Customer Name</span>
    <span class="cell">Loan Amount</span>
    <span class="cell">Loan Status</span>
    <span class="cell">Action</span>
  </div>
<div class="row" >
    <input type="radio" name="expand">
<span class="cell" data-label="SI. No.">1</span>
<span class="cell" data-label="Application Date">5-jan-2017</span>
<span class="cell" data-label="Customer Name">
  mr xyz</span>
<span class="cell" data-label="Loan Amount">60k</span>
<span class="cell" data-label="Loan Status">open</span>
<span class="cell" data-label="Action">
  <a href="https://www.w3schools.com">More Details</a>
</span>
  </div>
</div>

CSS

body {
	  background: #cacaca;
	  margin: 0;
	  padding: 20px;
	  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	  font-weight: 300;
	}

	#table {
	  display: table;
    width: 100%;
	  background: #fff;
	  margin: 0;
	  box-sizing: border-box;
	}

	.caption {
	  display: block;
	  width: 100%;
	  background: #64e0ef;
	  height: 55px;
	  padding-left: 10px;
	  color: #fff;
	  font-size: 20px;
	  line-height: 55px;
	  text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
	  box-sizing: border-box;
	}

	.header-row {
	  background: #8b8b8b;
	  color: #fff;
	}

	.row {
	  display: table-row;
  }

  .row :hover {
    background: green;
  }



	.cell {
	  display: table-cell;
	  padding: 23px;
	  border-bottom: 1px solid #e5e5e5;
	  text-align: center;
	}

	.primary {
	  text-align: left;
	}

	input[type="radio"],
	input[type="checkbox"] {
	  display: none;
	}

	@media only screen and (max-width: 760px) {
	  body {
	    padding: 0;
	  }
	  #table {
	    display: block;
	    margin: 44px 0 0 0;
	  }
	  .caption {
	    position: fixed;
	    top: 0;
	    text-align: center;
	    height: 44px;
	    line-height: 44px;
	    z-index: 5;
	    border-bottom: 2px solid #999;
	  }
	  .row {
	    position: relative;
	    display: block;
	    border-bottom: 1px solid #ccc;
	  }
	  .header-row {
	    display: none;
	  }
	  .cell {
	    display: block;
	    border: none;
	    position: relative;
	    height: 45px;
	    line-height: 45px;
	    text-align: left;
	  }
	  .primary:after {
	    content: "";
	    display: block;
	    position: absolute;
	    right: 20px;
	    top: 18px;
	    z-index: 2;
	    width: 0;
	    height: 0;
	    border-top: 10px solid transparent;
	    border-bottom: 10px solid transparent;
	    border-right: 10px solid #ccc;
	  }
	  .cell:nth-of-type(n+2) {
	    display: none;
	  }
	  input[type="radio"],
	  input[type="checkbox"] {
	    display: block;
	    position: absolute;
	    z-index:...