Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

#shadow-root (open) css

//The HTML
<div id="host"></div>

//The JS
var host = document.querySelector('#host');
var root = host.createShadowRoot();
 
PREVIOUS NEXT
Tagged: #css
ADD COMMENT
Topic
Name
5+1 =