JSFiddle - React, Tailwind, and code Playground
by andyw_
HTML
<p>hello</p>
JavaScript
var result = $('body *').contents().filter(function() {
return (this.nodeType == 3) && this.nodeValue.match(/\S/);
});
console.log(result);
console.log(getComputedStyle(result[0]));
var parent = result[0].parentElement;
console.log(parent);
console.log(getComputedStyle(parent));