In a site i’m developing atm i have been using lots of variables for width/height etc, thought this would make the responsive part easier and cleaner to handle. But I have a problem.
I don’t use less but I know that’s its complied before use so you can’t have variables affecting anything once the page is complied because then it is plain css only.
The variables in your media query will only apply to content within that media query. If you don’t have matching rules in that media query then that variable is not applied.