How can I concatenate a Sass variable?
This is the the code in the scss file.
$url = 'siteurl.com';
#some-div{
background-image: url(+ $url +/images/img.jpg);
}
I want the result in the CSS file to be:
#some-div{
background-image: url('siteurl.com/images/img.jpg');
}
I found this question, but it didn't worked for me: Trying to concatenate Sass variable and a string