+ 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

4th Nov 2024, 10:35 AM
Shahin Rahman
Shahin Rahman - avatar
1 Respuesta
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.
14th Nov 2024, 2:01 PM
Bayazid Bostami Sinha
Bayazid Bostami Sinha - avatar