JSFiddle - React, Tailwind, and code Playground

by neal_fletcher

HTML

<!--Start Financial Table-->
<table class="financial-table" style="width:100%;" cellspacing="0">
    <tr>
        <td class="fifty thin-border left light">Long leasehold buildings</td>
        <td class="fifty thin-border left light">2% per annum</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Short leasehold buildings</td>
        <td class="fifty thin-border left light">over the remaining period of the lease</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Property improvements</td>
        <td class="fifty thin-border left light">3.3% – 20% per annum</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Motor vehicles</td>
        <td class="fifty thin-border left light">20 – 25% per annum</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Office equipment</td>
        <td class="fifty thin-border left light">10 – 25% per annum</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Computer equipment</td>
        <td class="fifty thin-border left light">20 – 33% per annum</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Website</td>
        <td class="fifty thin-border left light">10% per annum</td>
    </tr>
    <tr>
        <td class="fifty thin-border left light">Website software</td>
        <td class="fifty thin-border left light">33% per annum</td>
    </tr>
</table>
<!--End Financial Table-->

CSS

/* Financial Table Content */
 table.financial-table {
    position: relative;
    width: 100%;
    height: auto;
    font-family:'bariol_regularregular';
    font-weight: bold;
    color: #4a5058;
    font-size: 15px;
    line-height: 1.3em;
    margin-top: 20px;
    margin-bottom: 40px;
}
table.financial-table td {
    vertical-align: text-top;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 8px;
}
table.financial-table.with-borders td {
    padding-right: 8px;
}
table.financial-table td.thin-border {
    border-bottom: 1px solid #999999;
}
table.financial-table td.thick-border {
    border-bottom: 2px solid #4a5058;
}
table.financial-table td.side-border {
    border-left: 1px solid #999999;
}
table.financial-table td.right {
    text-align: right;
}
table.financial-table td.light, table.financial-table td .light {
    font-weight: normal;
}
table.financial-table td.hundred {
    width: 100%;
}
table.financial-table td.ninety {
    width: 90%;
}
table.financial-table td.eighty {
    width: 80%;
}
table.financial-table td.seventy {
    width: 70%;
}
table.financial-table td.sixty {
    width: 60%;
}
table.financial-table td.fifty {
    width: 50%;
}
table.financial-table td.forty {
    width: 40%;
}
table.financial-table td.thirty {
    width: 30%;
}
table.financial-table td.twenty {
    width: 20%;
}
table.financial-table td.ten {
    width: 10%;
}