Added automatic merging of media-query conditions

This commit is contained in:
Marcel Jackwerth
2012-02-17 01:39:03 +01:00
parent 80e8b42e9a
commit 936ab7d52e
3 changed files with 129 additions and 28 deletions

View File

@@ -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%;
}
}

View File

@@ -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%;
}
}
}