mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Added automatic merging of media-query conditions
This commit is contained in:
@@ -33,3 +33,18 @@
|
||||
background-color: red;
|
||||
}
|
||||
}
|
||||
@media print and (orientation: landscape) {
|
||||
body {
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
@media a, b and c {
|
||||
body {
|
||||
width: 95%;
|
||||
}
|
||||
}
|
||||
@media a and x, b and c and x, a and y, b and c and y {
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,11 +31,25 @@
|
||||
}
|
||||
|
||||
body {
|
||||
@media print {
|
||||
padding: 20px;
|
||||
@media print {
|
||||
padding: 20px;
|
||||
|
||||
header {
|
||||
background-color: red;
|
||||
header {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
@media (orientation:landscape) {
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@media a, b and c {
|
||||
width: 95%;
|
||||
|
||||
@media x, y {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user