.box-shadow () { -webkit-box-shadow: @arguments }
content: "hello @{var}"; // replaced with value of `@var`
@var: 'fnord';
content: @@var; // outputs content of variable @fnord
content: `"@{var}".toUpperCase() + '!'`; // interpolation and escaping works with js too
width: `document.body.clientHeight`; // access the DOM
filter: ~"MS.BS.DXImageTransform:filter()"; // instead of `e()` function
... and a bunch of fixes.
See examples and full documentation on http://lesscss.org
400'000 downloads of less.js since last year!
Thanks & See you around!
@Heilemann: that's exactly what it does, it's just like
#@var in ruby and
${var}in bash. So it'll probably mainly be used inside urls, like
url("http://@{base}/image.jpg")`, but combined with string escaping, can be used anywhere:output: