In order to use variables for other than values such as properties, selectors and strings. You will need to wrap it in #{$variable}
$side: top;
$space: -0.5em;
.container {
#{$side}: $space;
}
In order to use variables for other than values such as properties, selectors and strings. You will need to wrap it in #{$variable}
$side: top;
$space: -0.5em;
.container {
#{$side}: $space;
}