To experience full functionality of this page, you need to enable JavaScript. All outputs will appear undefined when JavaScript is off. Click here to learn how to enable JavaScript.

Viewport: How to get viewport size.

Device: How to get device size.

Document: How to get document size.