<div class="CardApplication" style="--columns: 7">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
.CardApplication {
display: grid;
grid-template-columns: repeat(3, 1fr) 2fr repeat(var(--columns, 5), 1fr);
}
.item {
border: 1px solid red;
height: 50px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.