I am doing some calculations with in my mixins and need to return a value in %.
@include breakpoint(sm) {
padding-left: ($content-block) + %;
padding-right: ($content-block) + %;
}
This is supposed to return 10% but when running Compass, I get the following error:
error scss/main.scss (Line 265 of scss/_mixins.scss: Invalid CSS after "...l ox--xs) + ": expected expression (e.g. 1px, bold), was "%;")
Any idea on how to make this work?