M
M
Mithgol2012-04-12 13:49:24
css
Mithgol, 2012-04-12 13:49:24

In which browsers does LESS fail to compile to CSS with client-side javascript?

Many readers, I believe, are well aware of this example from the official LESS page :

<link rel="stylesheet/less" type="text/css" href="styles.less">
<script src="less.js" type="text/javascript"></script>

Attention, the question is: what browsers are so old or not advanced that this example will not work in them?
I read that at the top of that page, Chrome, Safari, and Firefox are mentioned as supporting LESS to CSS client-side compilation. But I want to clarify: what, in IE or in Opera does not work at all? Has anyone checked?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
banzalik, 2012-04-12
@banzalik

On the site there is a link to the Russian documentation
lesscss.ru/

LESS can be used both on the client side ( IE 6+ , Webkit, Firefox)

A
Anatoly, 2012-04-12
@taliban

Judging by their site, everything works in the opera.

P
Pavel Myshkin, 2014-06-25
@Pazys

I don't use the less.js solution at all, and I don't advise you to either.
In web storm, I have the less css compiler plugin - it monitors the specified file or directory and compiles less files to css when changes are made. And in other IDEs and editors, I'm sure there are such plugins.
Why?
- I don't like the source code with a huge <style>...</style>
- I don't need additional scripts on the site
- I somehow faced the problem that this bundle did not work somewhere, and in a relatively modern browser ... about a year and a half ago.
Also, I abandoned the php solution for compiling on the fly, because. on 2 sites, after updating the engine, this whole structure broke.
And the solution with compiling the file in the editor (as well as in utilities like less.app) works stably.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question