mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
properly support @media and @import features
This commit is contained in:
2
test/css/import.css
vendored
2
test/css/import.css
vendored
@@ -1,6 +1,8 @@
|
||||
@import "import-test-d.css";
|
||||
|
||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
|
||||
|
||||
@import url(something.css) screen and (color) and (max-width: 600px);
|
||||
#import {
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
@@ -14,8 +14,13 @@
|
||||
max-width: 480;
|
||||
}
|
||||
}
|
||||
@media all and (orientation:portrait) {
|
||||
@media all and (orientation: portrait) {
|
||||
aside {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
@media handheld and (min-width: 20em), screen and (min-width: 20em) {
|
||||
body {
|
||||
max-width: 480px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user