Expand|Select|Wrap|Line Numbers
- @keyframes myfadeInAnimation {
- from { -webkit-transform: translateY(1000px); transform: translateY(1000px); }
- to { -webkit-transform: translateY(10px); transform: translateY(10px); }
- }
- section{
- -webkit-animation: myfadeInAnimation .9s ease-in-out both;
- animation: myfadeInAnimation .9s ease-in-out both;
- }
This jQuery function isn't doing anything:
Expand|Select|Wrap|Line Numbers
- $(window).unload(function() {
- event.preventDefault();
- linkLocation = this.href;
- $("section").fadeOut(4000, redirectPage);
- function redirectPage() {
- window.location = linkLocation;
- }
- });