An open API service indexing awesome lists of open source software.

https://github.com/psilore/shadow-root

A simple example of using shadow DOM
https://github.com/psilore/shadow-root

Last synced: 10 months ago
JSON representation

A simple example of using shadow DOM

Awesome Lists containing this project

README

          

# shadow-root
A simple example of using shadow DOM and custom element with plain javascript, HTML5 & CSS3.

Controlling the elements position with passing arguments to the element.

Link to demonstration of a custom element: https://psilore.github.io/shadow-root/demo/

#### Screenshot

![Screenshot of shadow DOM example](https://github.com/psilore/shadow-root/blob/6f2c441aaabfeeabf1031598c9241fcb370c5edc/docs/images/screenshot.png)