Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;(() => {
- var node = document.createElement('style');
- node.innerHTML = `
- @keyframes fadeTheFuckOut {
- 0% {
- opacity: inherit;
- }
- 100% {
- opacity: 0;
- transform: translateY(-30px) rotate(15deg);
- }
- }
- .fadeTheFuckOut {
- animation: fadeTheFuckOut 3s ease-out;
- animation-fill-mode: forwards;
- }
- `;
- document.body.appendChild(node);
- [...document.querySelectorAll('*')].map(e => {
- if( Math.random() <= 0.5 ) return;
- if( e.childElementCount > 0 ) return;
- e.classList.add('fadeTheFuckOut');
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement