Last active
February 8, 2016 16:14
-
-
Save kkoziarski/7f42a67392ac59f405ed to your computer and use it in GitHub Desktop.
Generate boostrap grid columns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../Scripts/lib/bootstrap/less/mixins/grid-framework.less"; | |
/*col-sm-w-* is for setting with only without other properties. It uses bootstrap internal mixin*/ | |
.loop-grid-columns(@grid-columns, xs-w, width); | |
@media (min-width: @screen-sm-min) { | |
.loop-grid-columns(@grid-columns, sm-w, width); | |
} | |
@media (min-width: @screen-md-min) { | |
.loop-grid-columns(@grid-columns, md-w, width); | |
} | |
@media (min-width: @screen-lg-min) { | |
.loop-grid-columns(@grid-columns, lg-w, width); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment