-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
media query support #21
Comments
Should work, there is even an issue about the cases when it should not - #10 However add I've added a few test to double check, and they are all green. |
thanks a lot for looking into this. tests look good. for example considering the following css h1 {
margin-top: 50px;
}
h1 {
@include breakpoint(small only) {
margin-top: 30px;
}
} it would only interleave the first rule. the second one with the media query is filtered because the selector was already used. |
Not sure that's a valid CSS. It's more looks like SASS |
In short
|
Should be fine from now on. |
are media queries supposed to be supported by this library? I guess not properly, I do not seem to get any critical css for selectors that are behind media queries.
The text was updated successfully, but these errors were encountered: