get-document-size
Get the height and width of the (browser) document.
Usage no npm install needed!
<script type="module">
import getDocumentSize from 'https://cdn.skypack.dev/get-document-size';
</script>
Get the height and width of the (browser) document.
<script type="module">
import getDocumentSize from 'https://cdn.skypack.dev/get-document-size';
</script>