How to fix row height in grid

hey can you help me with this actually i am learning grid and its quite complex also if you know grid please teach me . thanks https://codepen.io/ajaywork/pen/MWzwrRW hey i want both the rows to have equal height but only the first one is having 30% not second?
3 Replies
vince
vince12mo ago
You have grid-template-rows: 30%. I changed that to grid-template-rows: repeat(2, 1fr) and now they both have equal heights
SirPHOBIA
SirPHOBIA12mo ago
thanks @vince it worked
Nikita
Nikita12mo ago
Please remember mark question as SOLVED