scss-library/components/01_Layouts/flexGrid/_flexGrid.scss
2020-08-21 17:20:29 +02:00

23 lines
284 B
SCSS

@mixin RV-FlexGrid {
&__Container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
&--sameHeight {
grid-auto-rows: 1fr;
}
&--spacing {
gap: 10px;
}
}
&__Item {
@include align-content;
}
}
.RV-FlexGrid{
@include RV-FlexGrid;
}