<div class="wrapper">
        <div class="first-box">
            <h2>Box 1 </h2>
        </div>

        <div class="second-box">
            <h2>Box 2 </h2>
        </div>

        <div class="third-box">
            <h2>Box 3 </h2>
        </div>

        <div class="fourth-box">
            <h2>Box 4 </h2>
        </div>

        <div class="fifth-box">
            <h2>Box 5 </h2>
        </div>

        <div class="sixth-box">
            <h2>Box 6 </h2>
        </div>
    </div>
.wrapper{
    background-color: gainsboro;
    display:grid;
    border: 1.5px black solid;
    grid-template-columns: 300px repeat(5 , 1fr) 150px;
}

.first-box{
    padding: 10px;
    border: 1px black solid;
    text-align: center;
    background-color:lavender;
}

.second-box{
    padding: 10px;
    border: 1px black solid;
    text-align: center;
    background-color: thistle;
}
.third-box{
    padding: 10px;
    border: 1px black solid;
    text-align: center;
    background-color: plum;
}

.fourth-box{
    padding: 10px;
    border: 1px black solid;
    text-align: center;
    background-color: orchid;
}

.fifth-box{
    padding: 10px;
    border: 1px black solid;
    text-align: center;
    background-color: violet;
}

.sixth-box{
    padding: 10px;
    border: 1px black solid;
    text-align: center;
    background-color: fuchsia;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.