JSFiddle - React, Tailwind, and code Playground
CSS
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
JavaScript
var element = document.getElementsByTagName('html')[0],
style = window.getComputedStyle(element),
marginTop = style.getPropertyValue('margin-top');
console.log(marginTop);