JSFiddle - React, Tailwind, and code Playground

by dfreedm

HTML

<div tabIndex="-1" id="host">
    <input type="color" value="#deadbe" />
</div>

JavaScript

var host = document.querySelector('#host');
var sr = host.webkitCreateShadowRoot();
sr.innerHTML = '<content></content>';