I'm currently working on configuring the rows to have a grid-template-rows: 30px 1fr;
setup, where the first row is set to 30px
and all subsequent rows adjust their height accordingly. However, I've noticed that this styling seems to be impacting the third item in the column.
* {
margin: 0;
}
html, body {
height: 100%;
}
.cont {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
grid-template-rows: 30px 1fr;
grid-gap: 2px;
}
.cont div {
background: red;
height: 90px;
}
<div class="cont">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>