JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <td><a href="http://www.google.com">text</a>

        </td>
        <td>something else</td>
    </tr>
    <tr>
        <td><a href="http://www.google.com">text</a>

        </td>
        <td>something else</td>
    </tr>
    <tr>
        <td>no link here

        </td>
        <td>something else</td>
    </tr>
    <tr>
        <td><a href="http://www.google.com">text</a>

        </td>
        <td>something else</td>
    </tr>
    <tr>
        <td><a href="http://www.google.com">text</a>

        </td>
        <td>something else</td>
    </tr>
    <tr>
        <td><a href="http://www.google.com">text</a>

        </td>
        <td>something else</td>
    </tr>
</table>

CSS

table {
    width: 100%;
}
tr {
    position: relative;
    height: 30px;
}
tr:nth-child(2n) {
    background-color: #666;
    color: #fff;
}
tr a {
    display: block;
    color: #333;
    line-height: 30px;
    position: absolute;
    text-decoration: none;
    top: 0;
    width: 100%;
}
tr a:hover, tr a:active, tr a:focus {
    background-color: rgba(0, 0, 0, 0.2);
    text-decoration: underline;
}
td {
    color: #333;
}
td:first-child {
    width: 20%;
}