How is “grid-template-rows: auto auto 1fr auto” interpreted?
As a thumb rule, fr is greedy, auto is shy. When the browser renders your grid, first it calculates the necessary sizes of auto elements – they all get the minimum they can live with -, and then, after all other sizes are known, will it distribute the remaining space among fr cells. Distribution works … Read more