The grid(of N by N size) which I am making using flex box and wrap is getting outside of it's box

https://codepen.io/asel345/pen/mdvVJRO This is a segement of my code which is making a grid inside a div but the issue is it is making less boxs in width and more boxs in height
asel
CodePen
mdvVJRO
...
3 Replies
Kevin Powell
Kevin Powell14mo ago
I'm not 100% sure... but if you remove the width and height from the parent (.box) it seems to work, more or less?
Kevin Powell
Kevin Powell14mo ago
SInce it's a grid, it might be easier to use grid. I swtich it out here: https://codepen.io/kevinpowell/pen/vYbLNxd?editors=1100
Kevin
CodePen
vYbLNxd
...
NAN
NANOP14mo ago
Yeah I am actually watching your grid video as I also think it would get the job done easily
Want results from more Discord servers?
Add your server