Hello thank you for this amazing piece of software, i have a slight problem with transforming specific .less files to Css
here is the source file:
/*---------------------------------------------------
LESS Elements 0.9
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
background: @color;
background: -webkit-gradient(linear,
left bottom,
left top,
color-stop(0, @start),
color-stop(1, @stop));
background: -ms-linear-gradient(bottom,
@start,
@stop);
background: -moz-linear-gradient(center bottom,
@start 0%,
@stop 100%);
background: -o-linear-gradient(@stop,
@start);
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
}
the result file includes only comments from source file:
/*---------------------------------------------------
LESS Elements 0.9
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
i have installed v8 addon without any luck, the system is installed on local server.
.less mixins transforms to empty file
Hello thank you for this amazing piece of software, i have a slight problem with transforming specific .less files to Css
here is the source file:
the result file includes only comments from source file:
i have installed v8 addon without any luck, the system is installed on local server.
also it seeems that the problem is the local scope variable if i take @color , @start and @stop to global level it works.
Have you tried calling your mixin within another class?
For example, my less file I have the following..
I declare my mixin and then in my class .wrapperMain I call the mixin border-radius-custom.
When the transform happens you will see something like this:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.