Skip to content

Instantly share code, notes, and snippets.

@danyeah
Created June 28, 2017 19:53
Show Gist options
  • Save danyeah/6dcf44571f1a457e73d94c04778c3671 to your computer and use it in GitHub Desktop.
Save danyeah/6dcf44571f1a457e73d94c04778c3671 to your computer and use it in GitHub Desktop.
Cycle all the gridle states
$statesNames : gridle_get_states_names();
%alignleft,
.alignleft {
float: left;
@each $name in $statesNames {
&--#{$name} {
@include gridle_state($name) {
float: left;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment