Less language is an extension of css and less4j compiles it into regular css. Less adds several dynamic features into css: variables, expressions, nested rules, and so on. Less was designed to be compatible with css and any correct css file is also correct less file.
Hi, i've this little problem, above code compile correctly in less, but in less4j throw an exception:
I really cannot understand where is the problem...
com.github.sommeri.less4j.Less4jException: Could not compile less. 7 error(s) occurred:
no viable alternative at input '(' in ruleset (which started at 539:1)
550: .test-fn(@n, @important) {
551:
no viable alternative at input ' ' in abstract mixin or namespace (which started at 550:3)
552: & when (@important = false) {
553: width: round(@unit * @n, 2);
Hi, i've this little problem, above code compile correctly in less, but in less4j throw an exception: I really cannot understand where is the problem...
Thanks in advance.