Skip to content

Instantly share code, notes, and snippets.

@1stevengrant
Created March 13, 2015 11:09
Show Gist options
  • Select an option

  • Save 1stevengrant/0050039f36ccb44bcb35 to your computer and use it in GitHub Desktop.

Select an option

Save 1stevengrant/0050039f36ccb44bcb35 to your computer and use it in GitHub Desktop.
&__item {
text-align: center;
margin-bottom: 20px;
@include span(6);
@include bp(m) {
@include span(4);
}
@include bp(l) {
@include span(2);
text-align: left;
}
&:nth-child(2n) {
@include last;
@include bp(m) {
@include span(4);
}
@include bp(l) {
@include span(2);
}
}
&:nth-child(3n) {
@include bp(m) {
@include last;
}
@include bp(l) {
@include span(2);
}
}
&:last-child {
@include bp(l) {
@include last;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment