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

min/max-device-width/height #3530

tisdall opened this Issue Jun 21, 2017 · 0 comments


None yet
2 participants

tisdall commented Jun 21, 2017

I can't seem to find any details on [min|max]-device-[width|height]. It matches the javascript values of screen.width and screen.height.

Here's some information on the CSS media query:

And here's some compatibility data for screen.width and screen.height which appears to match the CSS media values:

W3C info:

I was looking into it because max-device-width in Android's built in web view seems to match physical pixels while in Chrome it matches CSS pixels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment