Created
December 4, 2015 16:13
-
-
Save acodesmith/6ea67acc9a73f6e78971 to your computer and use it in GitHub Desktop.
This file contains 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
$directions: right, left; | |
$sizes: xs, sm, md, lg; | |
@each $direction in $directions { | |
@each $size in $sizes { | |
.pull-#{$direction}-#{$size}{ | |
@if($size == xs){ | |
@media (min-width: $screen-xs-min) { | |
float:#{$direction}; | |
} | |
} | |
@else if($size == sm){ | |
@media (min-width: $screen-sm-min) { | |
float:#{$direction}; | |
} | |
} | |
@else if($size == md){ | |
@media (min-width: $screen-md-min) { | |
float:#{$direction}; | |
} | |
} | |
@else if($size == lg){ | |
@media (min-width: $screen-lg-min) { | |
float:#{$direction}; | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment