Skip to content

Instantly share code, notes, and snippets.

@74togo
Last active November 28, 2018 00:20
Show Gist options
  • Save 74togo/6233368 to your computer and use it in GitHub Desktop.
Save 74togo/6233368 to your computer and use it in GitHub Desktop.
This rainbows a page. Use a bookmarklet if you want.
(function(){var m = "@-webkit-keyframes super-rainbow { 0% { -webkit-filter:hue-rotate(1deg); } 100% { -webkit-filter:hue-rotate(360deg); } } html { -webkit-animation: super-rainbow 2s linear infinite normal }";
var styletag = document.createElement("style");
styletag.textContent = m;
document.body.appendChild(styletag);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment