CodePen

HTML

            
              <label for="test">test</label>

<div id="shadowit">test</div>



            
          
!

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              var shadow = document.getElementById("shadowit");


var shadow = shadow.createShadowRoot();

shadow.innerHTML = "<input type='text' id='test'>";
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................