This repository was made to examine an issue with utilizing Shadow DOMs to create HTML components. In the given case, Shadow DOMs were intended to prevent the header & footer components' from overwriting each others' custom CSS.
For things to go as expected, social media links should be showing in the bottom right, as you can see in the picture, below:
However, once a Shadow DOM is introduced, they disappear, as illustrated in my original /index.html
Handling these shadow DOMs came down to 3 options(you can just read about them in Kris's article, cited under Sources)
- Option #1 can be found in
optionNumberOne.html
- Option #2 can be found in
optionNumberTwo.html
- Option #3 can be found in
optionNumberThree.html
This entire repository is owed to the wonderful article that taught me everything, here: Resuable-html-components, by Kris Koishigawa