Last active
May 27, 2018 17:18
-
-
Save kyuwoo-choi/129c51f5eb87cb0deaa56c8a769b6254 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I won't fail this time | |
document.body.appendChild(document.createElement('div')) | |
.attachShadow({mode: 'open'}) | |
.innerHTML = '<style>div { background-color: #82b74b; }</style><div>Make me green!</div>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment