+ 1
Grid Layout Probelm
I want to make two column and row at 992 pixels but I can't.. Please Help me for fixed this. https://www.sololearn.com/en/compiler-playground/WWZeG27TFqjt
1 Réponse
0
To create a 2x2 grid at 992 pixels,
set your container to use grid-template-columns: repeat(2, 1fr); and grid-template-rows: repeat(2, auto); in your CSS.
This will give you two equal columns and adjust the rows based on content. Make sure you remove any fixed height on the container so the items can display properly in the grid.