grid help
i have two rows in a grid container with 3 items.. i want to make the first row have two columns and the second row only one column.. how do i do this without selecting each individual item?
3 Replies
btw if u had to do this, would u prefer to use grid or flexbox?
There are loads of options, it all depends on what you need / prefer
in grid you can just set up a 2 column grid.
and set
grid-column: 1/-1
for the :last-child
or :nth-child(3n)
(incase you want to repeat it)
or make a grid-templateokay thanks
š