-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Is there support for "orientation: portrait" queries? #288
Comments
So, you mean you want to apply rules to certain elements when they
What if So this is possible, but not planned. If you want to provide a PR, I'm open to merge it though. |
Thanks @marcj yes, that's the idea behind the request. The requirement is not high priority right now but I keep it in mind and will provide a PR when work load permits. |
+1 for orientation support. |
Add support for "orientation" queries ['landscape' |'portrait'|'square'] see marcj#288
We currently use some media queries
orientation: portrait
andorientation: landscape
in order to stack block side by side or on top of each other, depending on the orientation of the screen.Now, with element queries it would be cool to have something similar. It doesn't have to be direct support of orientation, I'd also be happy if there was somethin like
width > height
or not.Is something like that possible?
The text was updated successfully, but these errors were encountered: