mirror of
https://github.com/less/less.js.git
synced 2026-02-07 05:25:04 -05:00
It is up to the parser and compiler to rewrite them when those files are imported by another LESS file. - Modified and added test cases for import and import-once rules - Fixed difference between client side and server side handling of relative urls - Added a -rootpath option to lessc to specify another base path for the url rewriting. By default, rootpath=''
14 lines
351 B
Plaintext
14 lines
351 B
Plaintext
@import url("import/import-test-a.less");
|
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
|
|
|
|
@import url(something.css) screen and (color) and (max-width: 600px);
|
|
|
|
#import-test {
|
|
.mixin;
|
|
width: 10px;
|
|
height: @a + 10%;
|
|
}
|
|
@import "import/import-test-e" screen and (max-width: 600px);
|
|
|
|
@import "import/import-and-relative-paths-test";
|