web
This is an old revision of the document!
viewport width:
window.innerWidth == viewport.width window.screen.width are screen width in points. window.devicePixelRatio tells how many physical pixels equal 1 css px. 屏幕的宽度比如 360x720 单位是 pt,1 pt 等于 x 英寸。 css 中 1 px = 实际宽度 1 pt。 实际渲染的像素等于:css px * devicePixelRatio * inital-scale ?
web.1526842325.txt.gz · Last modified: by fe80:7b22:d660:6fb3:cbd4:1cb5:1e9d:3ff3
