Sass using @extend % from within a partial css file -
i have style.scss imports
- _declarations.scss
- _button.scss
in _declarations.scss, have placeholder declaration of
%blah{ colour: red; width: 100%; }
inside style.scss, can have selector this
.extend_it{ @extend %blah; }
and styles i'd expect pulled .extend_it selector.
however if try same within _button.scss unable extend %blah placeholder.
is there way around this?
Comments
Post a Comment