JSFiddle - React, Tailwind, and code Playground

by Alexander Startsev

HTML

<div class="wrapper">
    <header class="header">
        Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus, eaque.
    </header>
    <div class="cells">
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
        <a href="#" class="cells-unit"></a>
    </div>
</div>

CSS

*{
    margin: 0;
    padding: 0;
}

html, body{
    background-color: #555;
}

.wrapper{
    position: relative;
    padding-top: 10px;
    z-index: 1;
}

    .wrapper::before{
        content: '';
        z-index: -1;
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        border-left: 1px rgba(255,255,255,.6) solid;
    }

.header{
    width: 250px;
    margin: 0 auto;
    padding: 20px;
    font-size: 20px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    margin-bottom: 30px;
    z-index: 20;
    position: relative;
}

.cells{
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 0 20px;
    z-index: 10;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .cells-unit{
        position: relative;
        float: left;
        width: 22%;
        height: 100px;
        margin: 0 4% 4% 0;
        background-color: #fff;
    }

    .cells-unit:nth-of-type(4n){
        margin-right: 0px;
    }

    .cells-unit::after{
        content: '';
        position: absolute;
        top: 50%;
        width: 30%;
        right: -18%;
        border-top: 1px rgba(255,255,255,.6) solid;
        z-index: -1;
    }

    .cells-unit:nth-of-type(4n)::after{
        display: none;
    }