1derful
5/8/2015 - 11:20 AM

Generated by SassMeister.com.

Generated by SassMeister.com.

// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----

%hoge-holder {
  .fuga {
    @each $item-name in 'a', 'b', 'c', 'd', 'e', 'f' {
      &--#{$item-name} {
        @if $item-name == 'a' {
          color: red;
        } @else {
          color: blue;
        }
      }
    }
  }
}

.hoge {
  @extend %hoge-holder;
}


@mixin hage($a, $b) {
  color: red;
}

$a: 0;
$b: 3;

.huga {
  @include hage(null, $b);
}
.hoge .fuga--a {
  color: red;
}
.hoge .fuga--b {
  color: blue;
}
.hoge .fuga--c {
  color: blue;
}
.hoge .fuga--d {
  color: blue;
}
.hoge .fuga--e {
  color: blue;
}
.hoge .fuga--f {
  color: blue;
}

.huga {
  color: red;
}