.fade-in-left { opacity: 0; transition: opacity 0.4s ease; &.animate { -webkit-animation: fade-in-left 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both; animation: fade-in-left 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both; transition: opacity 0.4s ease; } } .fade-in-right { opacity: 0; transition: opacity 0.4s ease; &.animate { -webkit-animation: fade-in-right 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; animation: fade-in-right 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; transition: opacity 0.4s ease; } } .fade-in-fwd { opacity: 0; transition: opacity 0.4s ease; &.animate { -webkit-animation: fade-in-fwd 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; animation: fade-in-fwd 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; transition: opacity 0.4s ease; } } .swing-in-top-fwd { opacity: 0; transition: opacity 0.4s ease; &.animate { -webkit-animation: swing-in-top-fwd 0.8s cubic-bezier(0.175, 0.885, 0.320, 1.275) both; animation: swing-in-top-fwd 0.8s cubic-bezier(0.175, 0.885, 0.320, 1.275) both; transition: opacity 0.4s ease; } } .fade-out { -webkit-animation: fade-out 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both !important; animation: fade-out 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both !important; transition: opacity 0.4s ease; } .slide-in-left { -webkit-animation: slide-in-left 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both; animation: slide-in-left 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both; transition: opacity 0.4s ease; } .slide-out-left { -webkit-animation: slide-out-left 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both; animation: slide-out-left 1s cubic-bezier(0.680, -0.550, 0.265, 1.550) both; transition: opacity 0.4s ease; } .animate.delay_01 { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } .animate.delay_02 { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .animate.delay_03 { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .animate.delay_04 { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .animate.delay_05 { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } .animate.delay_06 { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .animate.delay_07 { -webkit-animation-delay: 0.7s; animation-delay: 0.7s; } .animate.delay_08 { -webkit-animation-delay: 0.8s; animation-delay: 0.8s; } .animate.delay_09 { -webkit-animation-delay: 0.9s; animation-delay: 0.9s; } .animate.delay_10 { -webkit-animation-delay: 1s; animation-delay: 1s; } .animate.delay_11 { -webkit-animation-delay: 1.1s; animation-delay: 1.1s; } .animate.delay_12 { -webkit-animation-delay: 1.2s; animation-delay: 1.2s; } .animate.delay_13 { -webkit-animation-delay: 1.3s; animation-delay: 1.3s; } .animate.delay_14 { -webkit-animation-delay: 1.4s; animation-delay: 1.4s; } .animate.delay_15 { -webkit-animation-delay: 1.5s; animation-delay: 1.5s; } // Fade out all @-webkit-keyframes fade-out { 0% { -webkit-transform: translateZ(0); transform: translateZ(0); opacity: 1; } 100% { -webkit-transform: translateZ(-80px); transform: translateZ(-80px); opacity: 0; } } /** * ---------------------------------------- * animation fade-in-left * ---------------------------------------- */ @-webkit-keyframes fade-in-left { 0% { -webkit-transform: translateX(-50px); transform: translateX(-50px); opacity: 0; } 100% { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; } } @keyframes fade-in-left { 0% { -webkit-transform: translateX(-50px); transform: translateX(-50px); opacity: 0; } 100% { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; } } /** * ---------------------------------------- * animation fade-in-fwd * ---------------------------------------- */ @-webkit-keyframes fade-in-fwd { 0% { -webkit-transform: translateZ(-80px); transform: translateZ(-80px); opacity: 0; } 100% { -webkit-transform: translateZ(0); transform: translateZ(0); opacity: 1; } } @keyframes fade-in-fwd { 0% { -webkit-transform: translateZ(-80px); transform: translateZ(-80px); opacity: 0; } 100% { -webkit-transform: translateZ(0); transform: translateZ(0); opacity: 1; } } /** * ---------------------------------------- * animation fade-in-right * ---------------------------------------- */ @-webkit-keyframes fade-in-right { 0% { -webkit-transform: translateX(50px); transform: translateX(50px); opacity: 0; } 100% { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; } } @keyframes fade-in-right { 0% { -webkit-transform: translateX(50px); transform: translateX(50px); opacity: 0; } 100% { -webkit-transform: translateX(0); transform: translateX(0); opacity: 1; } } /** * ---------------------------------------- * animation swing-in-top-fwd * ---------------------------------------- */ @-webkit-keyframes swing-in-top-fwd { 0% { -webkit-transform: rotateX(-100deg); transform: rotateX(-100deg); -webkit-transform-origin: top; transform-origin: top; opacity: 0; } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); -webkit-transform-origin: top; transform-origin: top; opacity: 1; } } @keyframes swing-in-top-fwd { 0% { -webkit-transform: rotateX(-100deg); transform: rotateX(-100deg); -webkit-transform-origin: top; transform-origin: top; opacity: 0; } 100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); -webkit-transform-origin: top; transform-origin: top; opacity: 1; } } // Mobile nav slide left @-webkit-keyframes slide-in-left { 0% { -webkit-transform: translateX(-175px); transform: translateX(-175px); //opacity: 0; } 100% { -webkit-transform: translateX(0); transform: translateX(0); //opacity: 1; } } @-webkit-keyframes slide-out-left { 0% { -webkit-transform: translateX(0); transform: translateX(0); //opacity: 1; } 100% { -webkit-transform: translateX(-175px); transform: translateX(-175px); //opacity: 0; } }