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
reeee
reeeeOPā€¢5mo ago
btw if u had to do this, would u prefer to use grid or flexbox?
MarkBoots
MarkBootsā€¢5mo ago
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-template
reeee
reeeeOPā€¢5mo ago
okay thanks šŸ˜
Want results from more Discord servers?
Add your server