Initialise a rectangle based on the width and height of a HTML element.
Rects.fromElement(document.querySelector(`body`)); Copy
Rects.fromElement(document.querySelector(`body`));
Initialise a rectangle based on the width and height of a HTML element.