Pregunta

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

¿Fue útil?

Solución

In WebKit, this is implemented in MediaQueryEvaluator.cpp.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top