Why can't I use the LESS CSS workspace?

http://jsfiddle.net/xfCE8/3/

I tried to get less CSS to work, but no luck, which is pretty embarrassing to see like no one else has this problem.

+3
source share
4 answers

Maybe the "Manage Resources" loader does not understand what content it should be when the extension to css is ".less" and not ".css".

I think jsfiddle ignores the links that you have in the HTML section: all external links should be added on the left side either in the list of known frameworks or as a link in the "Resource Management" section. I would suggest that this is for security reasons ...

0

, .less googlecode. jsfiddle Firebug open, . HTTP-, .less, :

Response Headers
Content-Length  28464
Content-Type    text/x-c; charset=us-ascii
Content-Disposition attachment; filename="style.less"
Accept-Ranges   bytes
Date    Mon, 13 Dec 2010 09:11:05 GMT
Last-Modified   Mon, 13 Dec 2010 09:01:31 GMT
Expires Mon, 20 Dec 2010 09:11:05 GMT
Server  DFE/largefile
Cache-Control   public, max-age=604800
Age 452

Content-Disposition , URL- . , , .less.

, mimetype...

+1

-, chrome js css . , .less .css, apache ini .htaccess.

-, @brand-color, @brand_color, ;) css, , .

Finally, this css framework doesn't seem to be very pleasant to start with (a lot of test comments, etc.) doesn't seem complete to me, and I will use it with caution.)

0
source

I do not know this structure, but I see that you have too much here:

<link rel="stylesheet/less" href="http://lesscsss.googlecode.com/files/style.less" type="text/css" />

he should be

<link rel="stylesheet/less" href="http://lesscss.googlecode.com/files/style.less" type="text/css" />

EDIT: Sorry, not so. The two links in your code are different from each other, but they should be. The first is related to lesscss, the second to lesser, and both are correct. I apologize.

-1
source

Source: https://habr.com/ru/post/1779968/


All Articles