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

Was it helpful?

Solution

In WebKit, this is implemented in MediaQueryEvaluator.cpp.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top