mirror of
https://github.com/less/less.js.git
synced 2026-02-06 13:05:07 -05:00
improve import support with media features
This commit is contained in:
5
test/css/import.css
vendored
5
test/css/import.css
vendored
@@ -16,3 +16,8 @@
|
||||
width: 10px;
|
||||
height: 30%;
|
||||
}
|
||||
@media screen and (max-width: 600px) {
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
1
test/less/import.less
vendored
1
test/less/import.less
vendored
@@ -8,3 +8,4 @@
|
||||
width: 10px;
|
||||
height: @a + 10%;
|
||||
}
|
||||
@import "import/import-test-e" screen and (max-width: 600px);
|
||||
|
||||
2
test/less/import/import-test-e.less
Normal file
2
test/less/import/import-test-e.less
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
body { width: 100% }
|
||||
Reference in New Issue
Block a user