<===> input.scss
@mixin where($sel: null) {
@if ( & == $sel ) {
h1 { color: white; }
} @else {
h1 { color: blue; }
}
}
.hive { @include where(); }
.bee { @include where(&); }
.queen { @include where("&"); }
<===> output.css
.hive h1 {
color: blue;
}
.bee h1 {
color: white;
}
.queen h1 {
color: blue;
}