$path1: assets/images; // no errors thrown $path2: /images; // errors thrown .test { background: url(#{$path1}/image.png); background: url(#{$path2}/image.png); }