<div>
    <p>content-01</p>
    <p>content-02</p>
    <p>content-03</p>
    <p>content-04</p>
    <p>content-05</p>
    <p>content-06</p>
</div>
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

div{
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 2%;
    row-gap: 1rem;
    padding: 2rem;
    margin: 0 auto;
}

p{
    width: 32%;
    aspect-ratio: 16 / 9;
    font-size: 14px;
    background-color: #b9defa;
    padding: 1rem;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.