Emulate low resolution device on the chrome dev tool

旧时模样 提交于 2019-12-24 06:20:49

问题


I need to test the Ionic 3 app on a low-resolution device. But I don't have a low-resolution device.Can you tell me how to do that in the chrome dev tools?

Low-Resolution device: Zte

Screen Size: 5.0 Inches, 480 x 854 pixels


回答1:


As specified in the comments, the pixel density is 196PPI.

The device pixel ratio = 196/150=~1.3

The logical resolution is screen size in pixels/dpr i.e. (480x854)/1.3 = (369×657) width and height.



来源:https://stackoverflow.com/questions/47117951/emulate-low-resolution-device-on-the-chrome-dev-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!