Is there an online tool to compile LESS? [closed]

2019-03-12 04:01发布

I'm trying to use LESS in my webpage, but am having trouble compiling it. It's built to work on ruby, which I don't have permission to install on my pc. Is there an online tool for this compilation?

I know that lessphp exists, but I can't find the demo on their site any longer.

To summarise, I'm looking for a quick and dirty solution to compiling LESS to test my stylesheets locally. Ideally, this would integrate with Microsoft Expression Web 4 (hooray for dreamspark), but I'd be perfectly happy with a "copy, paste, compile, copy, paste" web interface.

Does such an interface exist?

标签: css less
13条回答
淡お忘
2楼-- · 2019-03-12 04:28

Less2CSS
http://www.less2css.org
Website is open-source: http://github.com/brian-frichette/less-preview

My co-worker and I needed the same functionality, so we whipped up this online compiler.

Highlights:

  • CSS is updated in real-time, as-you-type, completely client-side.
  • You can choose between LESS versions (ie. v1.3.3, v1.3.0, etc)
查看更多
Viruses.
3楼-- · 2019-03-12 04:32

There is also win less (for windows), which seems to work better for me than lessphp.

查看更多
\"骚年 ilove
4楼-- · 2019-03-12 04:32

http://codepen.io

change the css tab (the one in the middle) to use LESS syntax, then paste your LESS code, and click on tab title to see a preview of the compiled css.

plus you get a lot of nice things there, to preview the results live, sharing, integrating with github gists, etc.

查看更多
够拽才男人
5楼-- · 2019-03-12 04:38

The demo feature on lessphp is still there.

查看更多
冷血范
6楼-- · 2019-03-12 04:40

I added a larger syntax highlighting editor and compiler to the lessphp page: http://leafo.net/lessphp/editor.html

查看更多
成全新的幸福
7楼-- · 2019-03-12 04:40

There is(was?) also http://onless.duostack.net/ but currently the server seems to have some difficulties...

However, source code is here: https://github.com/chendrix/onless.git

查看更多
登录 后发表回答