Pergunta

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

Foi útil?

Solução

In WebKit, this is implemented in MediaQueryEvaluator.cpp.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top