开发者

Is there a JavaScript implementation of LESS for CSS?

开发者 https://www.devze.com 2022-12-27 16:37 出处:网络
I have a need to do variable substitution at least in CSS from JavaScript (开发者_运维知识库let\'s ignore whether that\'s client or server side for the moment). Ideally, I\'d use the LESS syntax which

I have a need to do variable substitution at least in CSS from JavaScript (开发者_运维知识库let's ignore whether that's client or server side for the moment). Ideally, I'd use the LESS syntax which offers more features than just variable substitution. Has anyone found a JS implementation of LESS?


The next version of LESS is written in JavaScript. I believe it will work from the client or server. I don't know how well it works right now, but it could be worth looking into.

The source code is at http://github.com/cloudhead/less.js.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号