Last active
December 17, 2015 04:59
-
-
Save awestmoreland/5554916 to your computer and use it in GitHub Desktop.
This failed because 4 and 6 are both factors of 12, so the omega is added to the 12th member by the :nth-child(4n+4) rule, then removed by the :nth-child(6n+6) rule. Solution: Reverse the order (remove, then add).
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
figure{ | |
@include at-breakpoint($size-20){ | |
@include span-columns(3,12); | |
&:nth-child(4n+4){ | |
@include omega; | |
} | |
&:nth-child(6n+6){ | |
@include remove-omega; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment