Responsive CSS Grid
A responsive and easily custimizable grid layout
.grid-container {
--_min: 10rem;
--_gap: 1rem;
display: grid;
grid-gap: var(--_gap);
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--_min)), 1fr));
}
A responsive and easily custimizable grid layout
.grid-container {
--_min: 10rem;
--_gap: 1rem;
display: grid;
grid-gap: var(--_gap);
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--_min)), 1fr));
}