Answers for "responsive grid of 2 rows and 2 columns"

CSS
0

grid 4 columns 2 rows

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.75rem;
    width: min(90%, 68.5rem);
    margin-inline: auto;
}
Posted by: Guest on January-03-2022

Code answers related to "responsive grid of 2 rows and 2 columns"

Browse Popular Code Answers by Language