This one is short-and-sweet. You can use the window.innerHeight property to get the viewport height, and the window.innerWidth to get its width.
確定! 回上一頁