is there a way that you can write a full CSS line using a LESS variable?
For example, if I declare a variable:
@dir: test;
and then want that variable to be used within another variable:
@bg-img: url(http://example.com/@dir/img/bg.png;
When I try to use @bg-img in my CSS, it compiles like this:
body{background-image:url(http://example.com/@dir/img/bg.png);
How do I get @dir to echo out as test?
I know that I can just replace @dir but since I have various different microsites, it'll be quicker to change the one instance of @dir rather than go through and change every instance of the microsite name.