Skip to content
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

CSS Syntax error with retina declaration #25

Closed
danny-englander opened this issue Feb 13, 2015 · 1 comment
Closed

CSS Syntax error with retina declaration #25

danny-englander opened this issue Feb 13, 2015 · 1 comment

Comments

@danny-englander
Copy link

If I use one of the retina examples:

body {
  @include media("retina2x", ">desktop") {
    font-size: 1rem;
  }
}

This compiles as:

@media (-webkit-min-device-pixel-ratio: 2) and (min-width: 1025px), ((min-resolution: 192dpi) and (min-width: 1025px) {
  body {
    font-size: 1rem; } 
}

Note the double parentheses before min-resolution: 192dpi which is a syntax error. Note, I don't think this error was happening in the past, only with the latest version.

2015-02-13_08-57-07

@danny-englander
Copy link
Author

ah, I just updated to grunt-sass 0.18.0 and that seems to fix this. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant