I'm trying to set my grid layout as follows:
Is it even possible? The issue I'm having is when the content in item #3 is getting bigger it expands item #2 and pushes it down. Is there any way to avoid such behavior when content is large at item #3?
.container {
display: grid;
grid-template-columns: 200px 200px;
height: 400px;
width: 400px;
background-color: teal;
}
.grid-element {
display: grid;
place-items: center;
border: 1px solid tomato;
background-color: wheat;
font-size: 24px;
}
<div class='container'>
<div class='grid-element'>1</div>
<div class='grid-element'>2</div>
<div class='grid-element'>3</div>
</div>