-
Notifications
You must be signed in to change notification settings - Fork 0
/
animation.js
1 lines (1 loc) · 1.1 KB
/
animation.js
1
!function(){function n(){return Array.prototype.slice.call(document.querySelectorAll.apply(document,arguments))}n("body > .navbar, body > .section, body > .footer").forEach(function(t){t.style.transition="0s",t.style.opacity="0"}),document.querySelector("body > .navbar").style.transform="translateY(-100px)",[".column-main > .card",".column-left > .card, .column-right-shadow > .card",".column-right > .card"].map(function(t){n(t).forEach(function(t){t.style.transition="0s",t.style.opacity="0",t.style.transform="scale(0.8)",t.style.transformOrigin="center top"})}),setTimeout(function(){n("body > .navbar, body > .section, body > .footer").forEach(function(t){t.style.opacity="1",t.style.transition="opacity 0.3s ease-out, transform 0.3s ease-out"}),document.querySelector("body > .navbar").style.transform="translateY(0)",[".column-main > .card",".column-left > .card, .column-right-shadow > .card",".column-right > .card"].map(function(t){var o=1;n(t).forEach(function(t){setTimeout(function(){t.style.opacity="1",t.style.transform="",t.style.transition="opacity 0.3s ease-out, transform 0.3s ease-out"},100*o),o++})})})}();