guys i would like to create a background mixin instead writing repeated url
@mixin bgimage($name){
$url:"../images/$name.png";
background: url($url);}
and,it never accept the valuee to $name variable
i called it by
@include bgimage(name.png);
and in css the output is came wrong like this
background: url("../images/$name.png");
is there any way to write the url in mixin ? ot how to do it in short way