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

有帮助吗?

解决方案

In WebKit, this is implemented in MediaQueryEvaluator.cpp.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top