Created
July 24, 2019 05:51
-
-
Save UnforeseenOcean/5a5332b57f681587b55aa7c0b033e7d1 to your computer and use it in GitHub Desktop.
Cause gravitational collapse
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
var anim="@keyframes sigma{0%{transform:scale(1,1);opacity:0.95;}99.9%{transform:scale(0,0)rotate3d(1,1,1,180deg);}100%{opacity:0;}}",head=document.head||document.getElementsByTagName('head')[0],style=document.createElement('style');head.appendChild(style);var e=document.body.getElementsByTagName('*');style.type='text/css';if(style.styleSheet){style.styleSheet.cssText = anim;}else{style.appendChild(document.createTextNode(anim));}for(var i=0;i<e.length;i++){e[i].setAttribute("style","animation:sigma 10s 1 ease-out forwards;transform-origin:center center;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;")}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update: More elaborate animation, may cause browser crash
Small edit to prevent it from entirely destroying the body