Polishing artist disc; About artist tiles
This commit is contained in:
@ -66,6 +66,21 @@ $bp_shallow: 650px;
|
||||
filter: blur( $size );
|
||||
}
|
||||
|
||||
@mixin grid_item( $cols, $gap: 2% ){
|
||||
width: ( 0% + ( 100 / $cols ) - ( $gap * 2 ) + ( ( $gap * 2 ) / $cols ) );
|
||||
box-sizing: border-box;
|
||||
margin: 0 $gap 3%;
|
||||
|
||||
&:nth-child(#{$cols}n-#{$cols}) {
|
||||
margin-right: 0;
|
||||
@include clearfix;
|
||||
}
|
||||
|
||||
&:nth-child(#{$cols}n-#{$cols - 1}) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin responsive( $max_width: null, $min_width: null, $max_height: null, $min_height: null ){
|
||||
@if $max_width and $max_height {
|
||||
@media( max-width: $max_width ), ( max-height: $max_height ){
|
||||
|
||||
Reference in New Issue
Block a user