JSFiddle - React, Tailwind, and code Playground by Valentin Sarychev November 16, 2017 JavaScript const el = document.createElement('div'); console.log(el.getBoundingClientRect());