Domanda

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

È stato utile?

Soluzione

In WebKit, this is implemented in MediaQueryEvaluator.cpp.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top