Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Only 1 LESS CSS file is active

Tags:

css

less

I'm trying to embed multiple .less files like this

<head>
  <link href="mine.less" media="screen" rel="stylesheet/less" type="text/css" />
  <link href="friend.less" media="screen" rel="stylesheet/less" type="text/css"/>
</head>

but I'm finding that only the first one is used and the other one gets dropped. In normal .css files, multiple .css files are allowed. Is .less different or I'm doing something wrong?

like image 412
zmol Avatar asked Feb 06 '11 19:02

zmol


1 Answers

Have you tried using @import [FILENAME.LESS]; in the master .less file?

As per: http://techportal.inviqa.com/2010/12/17/lessphp-php-implementation-of-less-css/

like image 171
Myles Gray Avatar answered Oct 12 '22 23:10

Myles Gray