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

How can I use OR expression in breakpoints? #132

Closed
jdjuan opened this issue Jun 3, 2016 · 3 comments
Closed

How can I use OR expression in breakpoints? #132

jdjuan opened this issue Jun 3, 2016 · 3 comments

Comments

@jdjuan
Copy link

jdjuan commented Jun 3, 2016

Hello Include-media Team!,

I am just wondering how can I achieve something like this:

@include media("<=900px OR height<700px"){ ... }

The following way works like an AND: but I need an OR

@include media("<=900px", "height<700px"){ ... }

Today I use 2 different @include, and it works. But I couldn't figure out how to achieve the above.

@KittyGiraudel
Copy link
Collaborator

It’s not possible with include-media. Sorry! :)

@KittyGiraudel
Copy link
Collaborator

Possible duplicate of #102.

@eduardoboucas
Copy link
Owner

Moving the discussion to #102.

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

3 participants