JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<script type="text/javascript">
window.setTimeout(function(){
var ifr=document.createElement("iframe");
ifr.src="about:blank";
document.body.appendChild(ifr);
window.setTimeout(function(){
var doc=ifr.contentWindow.document || ifr.contentDocument;
var div=doc.createElement("div");
div.innerHTML="test";
doc.body.appendChild(div);
},500);
},500);
</script>
</head>
</html>