scss-library/components/01_Layouts/flexGrid/_flexGrid.scss

21 lines
272 B
SCSS
Raw Normal View History

2020-08-21 16:50:22 +02:00
RV-FlexGrid{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
&--sameHeight {
grid-auto-rows: 1fr;
}
&--spacing {
gap: 10px;
}
}
.RV-FlexGrid__Container {
@extend RV-FlexGrid;
.RV-FlexGrid__Item {
@include align-content;
}
}