Using grid vertically
Is it possible to stretch the grid items vertically to use the 100% of the height (25%) each?
https://gyazo.com/05f7dbc1a3d4d4dd1baf42a59c2ca32d
The code is just as simple as:
Gyazo
Gyazo
6 Replies
I tried
grid-template-rows: repeat(4, 1fr);
but it didn't fill it.if the grid has 100% height of the container
then you can just do
grid-auto-rows: 1fr
🤔
I swear I tried that. I will give it a shot.
if not, then you'll have to make a codepen
Yeah, it is what you see above, nothing more, nothing else.
still cant see the html/css of the container