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
vince2y 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
SirPHOBIAOP2y ago
thanks @vince it worked
Nikita
Nikita2y ago
Please remember mark question as SOLVED
Want results from more Discord servers?
Add your server