Skip to content

Instantly share code, notes, and snippets.

@procload
Created September 9, 2013 20:42
Show Gist options
  • Save procload/6501228 to your computer and use it in GitHub Desktop.
Save procload/6501228 to your computer and use it in GitHub Desktop.
.product-listing {
@extend %group;
.product {
@include respond-to(36.25em) {
//580px
@include span-columns(8);
@include nth-omega(2n);
}
@include respond-to(47.5em) {
//760
@include reset-columns();
@include remove-nth-omega(2n);
@include span-columns(5.02);
@include nth-omega(3n);
}
&:nth-child(2n + 1 ) {
@include respond-to(36.25em) {
//580px
clear: both;
}
@include respond-to(47.5em) {
//760px
clear: none;
}
}
&:nth-child(3n + 1 ) {
@include respond-to(47.5em) {
//760px
clear: both;
}
}
} //product
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment