Skip to content

Latest commit

 

History

History

shadow-dom

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

shadow-dom

A Shadow DOM example.

Instructions

Follow these instructions to build and run the demo.

  1. Run a local web server:
    • python3 -m http.server --directory src/
  2. Open the browser
    • Open the browser and navigate to http://localhost:8000
    • You will see differently styled elements; one for each Shadow DOM tree (screenshot below): shadow-dom-screenshot.png

Reference