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

Flatten nested media queries #11

Open
rtsao opened this issue Nov 17, 2015 · 0 comments
Open

Flatten nested media queries #11

rtsao opened this issue Nov 17, 2015 · 0 comments

Comments

@rtsao
Copy link
Owner

rtsao commented Nov 17, 2015

{
  foo: {
    '@media (max-width: 600px)': {
      '@media (min-width: 200px)': {
         color: 'blue'
       }
    }
  }
}
@media (max-width: 600px) and (min-width: 200px) {
  .foo {
    color: blue
  }
}

The utility of this seems dubious at the moment, but maybe this is worth implementing?

@rtsao rtsao changed the title combine nested media queries Combine nested media queries Nov 18, 2015
@rtsao rtsao changed the title Combine nested media queries Flatten nested media queries Nov 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant