Skip to content

Instantly share code, notes, and snippets.

@1000ch
Last active September 24, 2019 13:10
Show Gist options
  • Save 1000ch/df796d1836ee68d2b3746b736f4b36b9 to your computer and use it in GitHub Desktop.
Save 1000ch/df796d1836ee68d2b3746b736f4b36b9 to your computer and use it in GitHub Desktop.
{const style = document.createElement('style');style.innerHTML = `* { background-color: rgba(255,0,0,.2); }* * { background-color: rgba(0,255,0,.2); }* * * { background-color: rgba(0,0,255,.2); }* * * * { background-color: rgba(255,0,255,.2); }* * * * * { background-color: rgba(0,255,255,.2); }* * * * * * { background-color: rgba(255,255,0,.2); }* * * * * * * { background-color: rgba(255,0,0,.2); }* * * * * * * * { background-color: rgba(0,255,0,.2); }* * * * * * * * * { background-color: rgba(0,0,255,.2); }`;document.head.appendChild(style);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment