When working in SASS, I have created the following mixin:
@mixin background_gradient($dir, $from, $to) {
background: linear-gradient('to #{$dir}', $from, $to); // for IE10
}
However, when viewing it in the browser, the output appears as:
browser: linear-gradient("to top", #ffffff, #ffffff)
The correct format should be:
browser: linear-gradient(to top, #ffffff, #ffffff)
This should be without the quotes. How can I achieve this?
Thank you!