Skip to content

Instantly share code, notes, and snippets.

@Zabanaa
Created October 8, 2015 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zabanaa/7ba8d0f91d4273a82f9b to your computer and use it in GitHub Desktop.
Save Zabanaa/7ba8d0f91d4273a82f9b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
.guide-block__item {
flex: 0 1 100%;
height: auto;
$count: 1;
@while $count < 13 {
&:not(.guide-block__item--image):nth-child(12n+#{$count}) {
@if $count < 5 {
@extend %block-3;
} @elseif $count < 9 {
@extend %block-1;
} @else {
@extend %block-2;
}
}
$count: $count + 1;
}
}
.guide-block__item {
flex: 0 1 100%;
height: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment