1

I've tried many height adjustments of my Nav and Content but nothing makes it fill out the remaining space to the bottom of the page. Each row ends where the content ends...

What I am trying to achieve enter image description here

How it looks now enter image description here

Doesn't the auto property supposed to sort out last rows height?

.grid-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 100px auto;
  grid-template-areas: ". ." ". .";
}

nav {
  grid-row-start: 2;
  grid-row-end: 3;
}

main {
  grid-row-start: 2;
  grid-row-end: 3;
}
<div class="grid-container">
  <header>Header</header>
  <nav>Nav</nav>
  <main>Content</main>
</div>
TylerH
  • 20,799
  • 66
  • 75
  • 101
LazioTibijczyk
  • 1,701
  • 21
  • 48

0 Answers0