Suppose I have two virtually identical HTML structures, but with different class names. They only differ by a few variables, like width and h
class
width
h
Ran into the same problem, this is how I'm going to try to solve it... (this works)
@mixin foo($type:"default") .mClass $bg: inherit @if $type == "banana" $bg: yellow background: $bg .firstClass @include foo .secondClass @include foo("banana")