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

Était-ce utile?

La solution

In WebKit, this is implemented in MediaQueryEvaluator.cpp.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top