Make grid item use remaining space like flex item with flex-grow: 1 [duplicate]
This question already has answers here : Aligning grid items across the entire row/column (like flex items can) (2 answers) Closed last year . In a flexbox I can specify flex-grow:1 on a child to say it should take up the remaining space. html, body { height: 100% } <div style="display:flex;flex-direction:column;height:100%"> <div style="background-color:yellow;height:50px"></div> <div style="background-color:red;flex-grow:1"></div> </div> Is it possible to do the same thing with css grid? i.e. to specify against a child item that it should use remaining space without defining it explicitly