Created
September 9, 2013 20:43
-
-
Save procload/6501234 to your computer and use it in GitHub Desktop.
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
.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