In WebKit, this is implemented in MediaQueryEvaluator.cpp.
how do media queries determine the device resolution?
-
30-07-2022 - |
Question
I was wondering how media queries determine the device resolution. Is there a way to affect the way media queries respond with a custom user agent?
Thanks, Charlie
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow