JSFiddle - React, Tailwind, and code Playground

HTML

<table>
            <thead>
                <tr>
                    <th class="show">One</th>
                    <th class="show">Two</th>
                    <th class="show">Three</th>
                    <th class="show">Four</th>
                    <th class="show">Five</th>
                    <th class="show">Six</th>
                    <th class="hide">Seven</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="show">1</td>
                    <td class="show">2</td>
                    <td class="show">3</td>
                    <td class="show">4</td>
                    <td class="show">5</td>
                    <td class="show">6</td>
                    <td class="hide">7</td>
                </tr>
                <tr>
                    <td class="show">1</td>
                    <td class="show">2</td>
                    <td class="show">3</td>
                    <td class="show">4</td>
                    <td class="show">5</td>
                    <td class="show">6</td>
                    <td class="hide">7</td>
                </tr>
                <tr>
                    <td class="show">1</td>
                    <td class="show" class="show">2</td>
                    <td class="show">3</td>
                    <td class="show">4</td>
                    <td class="show">5</td>
                    <td class="show">6</td>
                    <td class="hide">7</td>
                </tr>
                <tr>
                    <td class="show">1</td>
                    <td class="show">2</td>
                    <td class="show">3</td>
                    <td class="show">4</td>
                    <td class="show">5</td>
                    <td class="show">6</td>
                    <td class="hide">7</td>
                </tr>
        </tbody>
    </table>

CSS

body {
    margin: 0;
    background: #eee;
}

table {
    width: calc(100% - 40px);
    margin: 40px 20px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

table tbody tr {
    cursor: pointer;
    border-radius: 10px;
    z-index:0;
    position: relative;
}

table tbody tr:hover {
    box-shadow: 0 12px 10px 0 rgba(0,0,0,0.15);
    z-index: 100;
}

table tbody tr td {
    background-color: #fff;
    padding: 10px 20px;
    position: relative;
    z-index: -1;
}

table tbody tr > td:first-child {
    border-radius: 10px 0 0 10px;
}

table tbody tr > td.show:last-child {
    border-radius: 0 10px 10px 0;
}

.hide {
  display: none;
}