@mixin beforeClass($selector){ @at-root #{selector-unify(&, $selector + ":before")} { @content } }