import silent to work with media queries and directives

This commit is contained in:
Luke Page
2013-03-21 16:38:56 +00:00
parent b912a971d3
commit aa802bd84c
7 changed files with 53 additions and 18 deletions

View File

@@ -1,3 +1,14 @@
@media only screen and (max-width: 200px) {
width: 480px;
}
@media (max-width: 1200px) {
/* a comment */
}
/*
The media statements - 1 is invalid (no selector) and 1 is just a comment
We should band invalid media queries solving the 1st case and not treat comments as rules,
solving the 2nd issue.
*/
.visible {
color: red;
}

View File

@@ -52,9 +52,6 @@
.sidebar {
width: 500px;
}
}
@media a {
}
@media a and b {
.first .second .third {