How to pass a variable from PHP to LESS? -


i use php (lessphp) compile less files css files on serverside. pass variable less file, color or language:

compile('input.less?lang=en') 

and use variable in less @lang.

is possible? if not, there workarounds?

this built in feature of lessphp, here's documentation: http://leafo.net/lessphp/docs/#setting_variables_from_php


Comments

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -