JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <th>First Name</th>
        <th>Last Name</th>
    </tr>
    <tr>
        <td>Bart</td>
        <td>Simpson</td>
    </tr>
    <tr>
        <td>Hans</td>
        <td>Moleman</td>
    </tr>
    <tr>
        <td>Nelson</td>
        <td>Muntz</td>
    </tr>
    <tr>
        <td>Ned</td>
        <td>Flanders</td>
    </tr>
    <tr>
        <td>Ben</td>
        <td>Baker</td>
    </tr>
</table>

CSS

table {
    width: 90%;
    font-size: 30px; /* contents will inherit this font size */
    border-collapse: collapse;
    border: 1px solid #333;
    margin: 20px auto;
    font-family: sans-serif;
}
th {
    text-transform: uppercase;
    background-color: #333;
    color: #fff;
    font-size: 18px;
    padding: 10px 0;
}
td {
    text-align: center;
    font-size: 22px;
    padding: 10px 0;
}
tr:nth-child(even) td {
    background-color: #eee;
}