@for $i from 1 through $block-grid-elements { @media #{$xlarge-up} { .xlarge-block-grid-#{$i} { @include block-grid( $per-row: $i ); } } }