SASS: Extra selectors added from extended class? -
i attempting use modernizr class extended class. have following scss code:
%some-extended-class { color:red; } .no-csstransforms %some-extended-class { color:blue; } .class-one { .class-two { .class-three { @extend %some-extended-class; } } }
note 2 extended class declarations; second preceded .no-csstransforms
modernizr class. expect get:
.class-one .class-two .class-three { color: red; } .no-csstransforms .class-one .class-two .class-three { color: blue; }
however, output getting:
.class-one .class-two .class-three { color: red; } .no-csstransforms .class-one .class-two .class-three, .class-one .class-two .no-csstransforms .class-three { color: blue; }
note .class-one .class-two .no-csstransforms .class-three
, unnecessary, , don't understand why being added?
Comments
Post a Comment