Nested mixins or functions in SASS

iLevi picture iLevi · Apr 15, 2013 · Viewed 29.9k times · Source

Some body know how can i use nested mixins or functions in SASS? I have something like this:

@mixin A(){
    do something....
}

@mixin B($argu){
    @include A();
}

Answer

crazyrohila picture crazyrohila · Apr 15, 2013

yeah you already doing it right. You can call first mixin in second one. check this pen http://codepen.io/crazyrohila/pen/mvqHo