less.ruby
less.ruby copied to clipboard
Less Ruby — now at http://github.com/cowboyd/less.rb
util.less @white: #FFF; .zeropad {padding: 0;} code.less img { .zeropad; } base.less @import 'util.less'; @import 'code.less'; result: ! Name Error: \* is undefined. ! Name Error: \* is undefined. put...
I want to define a variable, which could be empty in some cases `@prefix: "";` and to use it like this `src: url("@{prefix}/path/to/something");` the problem is that it compiles into...
``` img { -webkit-filter: saturate(10%); } ``` This is confuzed as the LESS filter function for saturating colors and throws an error. String interpolation does work, however: ``` img {...
Hi, are there any plans to incorporate a css optimiser option? I find myself avoiding features in Less such as inheritance because I'm aware that they aren't optimised and repeats...
Although this is probably not great CSS, I came across a third-party library that less is chocking on because the library uses a workaround for IE5: .test { display/*_/: none;...
Hi, This works as expected: ``` .test { color: #000; } .hello { .test; } ``` However this: ``` @media only screen and (min-width: 42em) { .test { color: #000;...
Sup, So this compiles; @var1: #0077cc; .foo { .box-shadow (1px 1px 1px @var1); } But this however doesn't compile; @var1: #FF0000; @var2: #0077CC; .bar { .box-shadow (~"1px 1px 1px @var1,2px...
codepen.io example for testing: http://codepen.io/anon/pen/opiJc ``` @other-color: #ff0000; .a { @color: #00ff00; } .b { @color: #0000ff; } .c { @color: @other-color; } // Change this mixin to each of...
I'm using LESS for a fairly large project, and I have to say that it's been fantastic so far. Saved me goodness knows how long and just makes things much...
If you import a file like: ``` @import "foo"; @import "bar"; ``` If `foo.less` is empty, `bar.less` will not be imported.