scss-library/components/10_Examples/imageGrid/_imageGrid.scss

26 lines
437 B
SCSS

@mixin RV-ImageGrid {
@include RV-FlexGrid;
&__Container {
@include RV-Spacing__Inner--medium;
}
&__Item {
@include RV-ContentCrop;
@include RV-ContentCrop--center;
&--square {
height: 0;
width: 100%;
padding-bottom: 100%;
* {
height: initial;
}
}
}
}
.RV-ImageGrid {
@include RV-ImageGrid;
}