javascript - website resolution isn't accurate on localhost -
javascript - website resolution isn't accurate on localhost -
i have programme runs on localhost , uses chrome in total screen. when type console
window.innerwidth
i result of 1236. when @ other webpage (not localhost) 1360 (as expected).
i have absolutely no thought why it. messing design since programme made work 1360x768 , 1920x1080.
any ideas why happening?
floor(1,360 / 1.1) = 1,236
you zoomed in 10% in browser localhost
domain. press ctrl+0.
javascript html css google-chrome width
Comments
Post a Comment