JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test">
    <ul class="test-wrap">
        <li class="test-inner"></li>
        <li class="test-inner"></li>
        <li class="test-inner"></li>
    </ul>
</div>

CSS

.test {
    position: relative;
    height: auto;
    margin: 0 12%;
    background-color: transparent;
    display: flex;
}
.test-wrap {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.test-inner {
    position: relative;
    height: 100%;
    width: 31%;
    list-style: none;
    display: inline-block;
    border-style: solid;
    border-width: 0;
    border-color: transparent;
    margin: 0 0 150px;
    padding-bottom: 18%;
    background-color: #666;
}