Is it possible to declare LESS variables in the HTML <head>?
问题 Is it possible to declare LESS variables in the HTML and use the declared vars in a seperate .less file. I want to do something like this: <html> <head> <style type="text/less"> @MYVAR: #9BC509; </style> <!-- use MYVAR inside the main.less file --> <link rel="stylesheet/less" type="text/css" href="styles/less/main.less"> </head> ... </html> EDIT: Since this did not work and was not a clean solution, I restructured my project, and now do a normal less file @incude for the variables I need. The