JSFiddle - React, Tailwind, and code Playground

by rbyers

HTML

<div id='box'></div>
<script>
    document.write("<p>document.body.clientWidth: " + document.body.clientWidth);
    document.write("<p>document.body.clientHeight: " + document.body.clientHeight);
    document.write("<p>window.outerWidth: " + window.outerWidth);
    document.write("<p>window.outerHeight: " + window.outerHeight);
    document.write("<p>screen.width: " + window.screen.width);
    document.write("<p>screen.height: " + window.screen.height);
</script>

CSS

#box {
  position: fixed;
  left:310px;
  top: 346px;
  height: 10px;
  width: 10px;
  background-color: blue;    
}