JSFiddle - React, Tailwind, and code Playground

by Abdul Ahmad

HTML

<div class="table-box">

        <div class="table">

            <div class="table-head-shadow"></div>
            <div class="table-head">
                <div class="row">
                    <div class="column w100">
                        Name
                    </div>
                    <div class="column w100">
                        Spouse
                    </div>
                    <div class="column w100">
                        Phone
                    </div>
                    <div class="column w100">
                        Email
                    </div>
                    <div class="column w100">
                        -
                    </div>
                </div>
            </div>

            <div class="table-body">
                
                <div class="row">
                    <div class="column w100">
                        <div class="text link">
                            test names
                        </div>
                    </div>
                    <div class="column w100">
                        <div class='text'>
                            spouse
                        </div>
                    </div>
                    <div class="column w100">
                        <div class='text'>
                            234234234
                        </div>
                    </div>
                    <div class="column w100">
                        <div class='text'>
                            [email protected]
                        </div>
                    </div>
                    <div class="column w100">
                        <div class='text delete-link'>
                            Delete
                        </div>
                    </div>
                </div>

                

                <div class="row">
                    <div class="column w100">
                        <div class="text">
                            test names
                        </div>
  ...

CSS

html {
    height: 100%;
}
body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  color: #3B3B3B;
  height: 100%;
}

.background-img {
    position: fixed;
    top: -10px;
    left: -10px;
    width: 110%;
    height: 110%;
    z-index: -1;
}
.background-img img {
    width: 100%;
    height: auto;
    -webkit-filter: blur(10px);

}
a {
  color: #00B7FF;
}

div {
    margin: 0;
}
.table-box {
    text-align: center;

}
.table {
    display: inline-block;
    overflow: hidden;
    position: relative;
}


.table-head-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 51px;
    z-index: 1;
    box-shadow: 0 0 5px 0;
}
.table-head {
    background-color: #FF7300;
    border: 1px solid #FF7300;
    /*background-color: #007BFF;*/
    border-bottom: none;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}
.table-head .row {
    border: none;
    color: white;
    color: #FFF3EB;
    height: 50px;
}
.table-head .column {
    text-align: center;
    border-right: 1px dotted #BA5D00;
}
.table-body {
    border: 1px solid #ccc;
    border-top: none;
    max-height: 450px;
    overflow-y: scroll;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: white;
}
.row {
    height: 30px;
}
.row:hover {
    cursor: default;
}
.table-body .row:nth-child(even) {
    background-color: #eee;
    background-color: #EBF2F7;
    background-color: #EBF5F5;
    background-color: #E9F2F2;

}
.table-body .row:hover {
    background-color: #D6F8FF;
    background-color: #FFD4A8;
    background-color: #FFE0CC;
}
.table-body .row:hover .column {
    border-color: #A5C1C7;
    border-color: #D1B082;
}
.row:last-of-type {
   border: none;
}
.column {
    float: left;
    padding: 0 10px;
    height: 100%;
    text-align: left;
    border-right: 1px solid #D3DBDB;
}
.column .text {
    display: inline-block;
}
.column:last-of-type {
    border:...