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

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -