Answers for "grid column with multiple rows"

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
0

have an item span multiple columns css grid

.item {
  grid-column: 2 / span 3;
  grid-row: 1 / span 2;
}
Posted by: Guest on September-16-2020

Code answers related to "grid column with multiple rows"

Browse Popular Code Answers by Language