everylayout/grid.css

16 lines
259 B
CSS
Raw Normal View History

2021-03-28 21:39:22 -04:00
/*==========*/
/* The Grid */
/*==========*/
.grid {
display: grid;
grid-gap: 1rem;
--minimum: 20ch;
}
@supports (width: min(var(--minumum), 100%)) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(min(var(--minimum), 100%), 1fr));
}
}