Created
January 31, 2012 12:52
-
-
Save fflorent/1710345 to your computer and use it in GitHub Desktop.
will it blend
This file contains hidden or 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
/* run it in a web console (firebug, etc.) */ | |
alert("will it blend?"); Array.prototype.forEach.call(document.querySelectorAll("*"), function(el){ el.style.MozTransform = "rotate(10000deg) scale(0)"; el.style.MozTransition = "50s linear"; }); var ok = function(){ alert('yes, it blends !'); document.body.removeEventListener("transitionend", ok, false);}; document.body.addEventListener("transitionend", ok, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment