More rewrites

Optimising for hardware acceleration, removing duplicate animations (slides), bumping tag
This commit is contained in:
Daniel Eden 2014-07-06 13:32:34 -07:00
parent 0589ff5d2a
commit d63e022485
75 changed files with 1235 additions and 1664 deletions

View file

@ -80,17 +80,6 @@
"rotateOutUpRight": true
},
"sliders": {
"slideInDown": true,
"slideInLeft": true,
"slideInRight": true,
"slideOutLeft": true,
"slideOutRight": true,
"slideOutUp": true,
"slideInUp": true,
"slideOutDown": true
},
"specials": {
"hinge": true,
"rollIn": true,
@ -104,7 +93,7 @@
"zoomInRight": true,
"zoomInUp": true
},
"zooming_exits": {
"zoomOut": true,
"zoomOutDown": true,

2282
animate.css vendored

File diff suppressed because it is too large Load diff

2
animate.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "animate.css",
"version": "3.1.1",
"version": "3.2.0",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-autoprefixer": "~0.4.0",

View file

@ -1,17 +1,25 @@
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
0%, 20%, 53%, 80%, 100% {
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
transform: translate3d(0,0,0);
}
40% {
transform: translateY(-30px);
40%, 43% {
transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
transform: translate3d(0, -30px, 0);
}
60% {
transform: translateY(-15px);
70% {
transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
transform: translate3d(0, -15px, 0);
}
90% {
transform: translate3d(0,-4px,0);
}
}
.bounce {
animation-name: bounce;
transform-origin: center bottom;
}

View file

@ -2,15 +2,15 @@
@keyframes pulse {
0% {
transform: scale(1);
transform: scale3d(1, 1, 1);
}
50% {
transform: scale(1.1);
transform: scale3d(1.05, 1.05, 1.05);
}
100% {
transform: scale(1);
transform: scale3d(1, 1, 1);
}
}

View file

@ -1,22 +1,30 @@
@keyframes rubberBand {
0% {
transform: scale(1);
transform: scale3d(1, 1, 1);
}
30% {
transform: scaleX(1.25) scaleY(0.75);
transform: scale3d(1.25, 0.75, 1);
}
40% {
transform: scaleX(0.75) scaleY(1.25);
transform: scale3d(0.75, 1.25, 1);
}
60% {
transform: scaleX(1.15) scaleY(0.85);
50% {
transform: scale3d(1.15, 0.85, 1);
}
65% {
transform: scale3d(.95, 1.05, 1);
}
75% {
transform: scale3d(1.05, .95, 1);
}
100% {
transform: scale(1);
transform: scale3d(1, 1, 1);
}
}

View file

@ -1,14 +1,14 @@
@keyframes shake {
0%, 100% {
transform: translateX(0);
transform: translate3d(0, 0, 0);
}
10%, 30%, 50%, 70%, 90% {
transform: translateX(-10px);
transform: translate3d(-10px, 0, 0);
}
20%, 40%, 60%, 80% {
transform: translateX(10px);
transform: translate3d(10px, 0, 0);
}
}

View file

@ -1,22 +1,22 @@
@keyframes swing {
20% {
transform: rotate(15deg);
transform: rotate3d(0, 0, 1, 15deg);
}
40% {
transform: rotate(-10deg);
transform: rotate3d(0, 0, 1, -10deg);
}
60% {
transform: rotate(5deg);
transform: rotate3d(0, 0, 1, 5deg);
}
80% {
transform: rotate(-5deg);
transform: rotate3d(0, 0, 1, -5deg);
}
100% {
transform: rotate(0deg);
transform: rotate3d(0, 0, 1, 0deg);
}
}

View file

@ -1,22 +1,22 @@
@keyframes tada {
0% {
transform: scale(1);
transform: scale3d(1, 1, 1);
}
10%, 20% {
transform: scale(0.9) rotate(-3deg);
transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
}
30%, 50%, 70%, 90% {
transform: scale(1.1) rotate(3deg);
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
}
40%, 60%, 80% {
transform: scale(1.1) rotate(-3deg);
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
}
100% {
transform: scale(1) rotate(0);
transform: scale3d(1, 1, 1);
}
}

View file

@ -2,31 +2,31 @@
@keyframes wobble {
0% {
transform: translateX(0%);
transform: none;
}
15% {
transform: translateX(-25%) rotate(-5deg);
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
}
30% {
transform: translateX(20%) rotate(3deg);
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
}
45% {
transform: translateX(-15%) rotate(-3deg);
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
}
60% {
transform: translateX(10%) rotate(2deg);
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
}
75% {
transform: translateX(-5%) rotate(-1deg);
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
}
100% {
transform: translateX(0%);
transform: none;
}
}

View file

@ -1,29 +1,33 @@
@keyframes bounceIn {
0%, 20%, 40%, 60%, 80%, 100% {
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
transform: scale(.3);
transform: scale3d(.3, .3, .3);
}
20% {
transform: scale(1.1);
transform: scale3d(1.1, 1.1, 1.1);
}
40% {
transform: scale(.9);
transform: scale3d(.9, .9, .9);
}
60% {
opacity: 1;
transform: scale(1.03);
transform: scale3d(1.03, 1.03, 1.03);
}
80% {
transform: scale(.97);
transform: scale3d(.97, .97, .97);
}
100% {
opacity: 1;
transform: scale(1);
transform: scale3d(1, 1, 1);
}
}

View file

@ -1,24 +1,28 @@
@keyframes bounceInDown {
0%, 60%, 75%, 90%, 100% {
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
transform: translateY(-3000px);
transform: translate3d(0, -3000px, 0);
}
60% {
opacity: 1;
transform: translateY(30px);
transform: translate3d(0, 25px, 0);
}
75% {
transform: translateY(-15px);
transform: translate3d(0, -10px, 0);
}
90% {
transform: translateY(5px);
transform: translate3d(0, 5px, 0);
}
100% {
transform: translateY(0);
transform: none;
}
}

View file

@ -1,24 +1,28 @@
@keyframes bounceInLeft {
0%, 60%, 75%, 90%, 100% {
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
transform: translateX(-3000px);
transform: translate3d(-3000px, 0, 0);
}
60% {
opacity: 1;
transform: translateX(30px);
transform: translate3d(25px, 0, 0);
}
75% {
transform: translateX(-15px);
transform: translate3d(-10px, 0, 0);
}
90% {
transform: translateX(5px);
transform: translate3d(5px, 0, 0);
}
100% {
transform: translateX(0);
transform: none;
}
}

View file

@ -1,24 +1,28 @@
@keyframes bounceInRight {
0%, 60%, 75%, 90%, 100% {
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
transform: translateX(3000px);
transform: translate3d(3000px, 0, 0);
}
60% {
opacity: 1;
transform: translateX(-30px);
transform: translate3d(-25px, 0, 0);
}
75% {
transform: translateX(15px);
transform: translate3d(10px, 0, 0);
}
90% {
transform: translateX(-5px);
transform: translate3d(-5px, 0, 0);
}
100% {
transform: translateX(0);
transform: none;
}
}

View file

@ -1,24 +1,28 @@
@keyframes bounceInUp {
0%, 60%, 75%, 90%, 100% {
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
transform: translateY(3000px);
transform: translate3d(0, 3000px, 0);
}
60% {
opacity: 1;
transform: translateY(-30px);
transform: translate3d(0, -20px, 0);
}
75% {
transform: translateY(15px);
transform: translate3d(0, 10px, 0);
}
90% {
transform: translateY(-5px);
transform: translate3d(0, -5px, 0);
}
100% {
transform: translateY(0);
transform: translate3d(0, 0, 0);
}
}

View file

@ -1,20 +1,16 @@
@keyframes bounceOut {
0% {
transform: scale(1);
20% {
transform: scale3d(.9, .9, .9);
}
25% {
transform: scale(.9);
}
50% {
50%, 55% {
opacity: 1;
transform: scale(1.1);
transform: scale3d(1.1, 1.1, 1.1);
}
100% {
opacity: 0;
transform: scale(.3);
transform: scale3d(.3, .3, .3);
}
}

View file

@ -1,16 +1,16 @@
@keyframes bounceOutDown {
0% {
transform: translateY(0);
20% {
transform: translate3d(0, 10px, 0);
}
20% {
40%, 45% {
opacity: 1;
transform: translateY(-20px);
transform: translate3d(0, -20px, 0);
}
100% {
opacity: 0;
transform: translateY(3000px);
transform: translate3d(0, 2000px, 0);
}
}

View file

@ -1,16 +1,12 @@
@keyframes bounceOutLeft {
0% {
transform: translateX(0);
}
20% {
opacity: 1;
transform: translateX(20px);
transform: translate3d(20px, 0, 0);
}
100% {
opacity: 0;
transform: translateX(-3000px);
transform: translate3d(-2000px, 0, 0);
}
}

View file

@ -1,16 +1,12 @@
@keyframes bounceOutRight {
0% {
transform: translateX(0);
}
20% {
opacity: 1;
transform: translateX(-20px);
transform: translate3d(-20px, 0, 0);
}
100% {
opacity: 0;
transform: translateX(3000px);
transform: translate3d(2000px, 0, 0);
}
}

View file

@ -1,16 +1,16 @@
@keyframes bounceOutUp {
0% {
transform: translateY(0);
20% {
transform: translate3d(0, -10px, 0);
}
20% {
40%, 45% {
opacity: 1;
transform: translateY(20px);
transform: translate3d(0, 20px, 0);
}
100% {
opacity: 0;
transform: translateY(-3000px);
transform: translate3d(0, -2000px, 0);
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInDown {
0% {
opacity: 0;
transform: translateY(-20px);
transform: translate3d(0, -100%, 0);
}
100% {
opacity: 1;
transform: translateY(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInDownBig {
0% {
opacity: 0;
transform: translateY(-2000px);
transform: translate3d(0, -2000px, 0);
}
100% {
opacity: 1;
transform: translateY(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInLeft {
0% {
opacity: 0;
transform: translateX(-20px);
transform: translate3d(-100%, 0, 0);
}
100% {
opacity: 1;
transform: translateX(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInLeftBig {
0% {
opacity: 0;
transform: translateX(-2000px);
transform: translate3d(-2000px, 0, 0);
}
100% {
opacity: 1;
transform: translateX(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInRight {
0% {
opacity: 0;
transform: translateX(20px);
transform: translate3d(100%, 0, 0);
}
100% {
opacity: 1;
transform: translateX(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInRightBig {
0% {
opacity: 0;
transform: translateX(2000px);
transform: translate3d(2000px, 0, 0);
}
100% {
opacity: 1;
transform: translateX(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
transform: translate3d(0, 100%, 0);
}
100% {
opacity: 1;
transform: translateY(0);
transform: none;
}
}

View file

@ -1,12 +1,12 @@
@keyframes fadeInUpBig {
0% {
opacity: 0;
transform: translateY(2000px);
transform: translate3d(0, 2000px, 0);
}
100% {
opacity: 1;
transform: translateY(0);
transform: none;
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutDown {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(20px);
transform: translate3d(0, 100%, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutDownBig {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(2000px);
transform: translate3d(0, 2000px, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutLeft {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(-20px);
transform: translate3d(-100%, 0, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutLeftBig {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(-2000px);
transform: translate3d(-2000px, 0, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutRight {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(20px);
transform: translate3d(100%, 0, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutRightBig {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(2000px);
transform: translate3d(2000px, 0, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutUp {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-20px);
transform: translate3d(0, -100%, 0);
}
}

View file

@ -1,12 +1,11 @@
@keyframes fadeOutUpBig {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-2000px);
transform: translate3d(0, -2000px, 0);
}
}

View file

@ -1,26 +1,26 @@
@keyframes flip {
0% {
transform: perspective(400px) translateZ(0) rotateY(-360deg) scale(1);
transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
animation-timing-function: ease-out;
}
40% {
transform: perspective(400px) translateZ(150px) rotateY(-190deg) scale(1);
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
animation-timing-function: ease-out;
}
50% {
transform: perspective(400px) translateZ(150px) rotateY(-170deg) scale(1);
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
animation-timing-function: ease-in;
}
80% {
transform: perspective(400px) translateZ(0) rotateY(0deg) scale(.95);
transform: perspective(400px) scale3d(.95, .95, .95);
animation-timing-function: ease-in;
}
100% {
transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
transform: perspective(400px);
animation-timing-function: ease-in;
}
}

View file

@ -1,26 +1,26 @@
@keyframes flipInX {
0% {
transform: perspective(400px) rotateX(90deg);
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
transition-timing-function: ease-in;
opacity: 0;
}
40% {
transform: perspective(400px) rotateX(-20deg);
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
transition-timing-function: ease-in;
}
60% {
transform: perspective(400px) rotateX(10deg);
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
opacity: 1;
}
80% {
transform: perspective(400px) rotateX(-5deg);
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
}
100% {
transform: perspective(400px) rotateX(0deg);
transform: perspective(400px);
}
}

View file

@ -1,26 +1,26 @@
@keyframes flipInY {
0% {
transform: perspective(400px) rotateY(90deg);
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
transition-timing-function: ease-in;
opacity: 0;
}
40% {
transform: perspective(400px) rotateY(-20deg);
transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
transition-timing-function: ease-in;
}
60% {
transform: perspective(400px) rotateY(10deg);
transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
opacity: 1;
}
80% {
transform: perspective(400px) rotateY(-5deg);
transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
}
100% {
transform: perspective(400px) rotateY(0deg);
transform: perspective(400px);
}
}

View file

@ -1,15 +1,15 @@
@keyframes flipOutX {
0% {
transform: perspective(400px) rotateX(0deg);
transform: perspective(400px);
}
30% {
transform: perspective(400px) rotateX(-20deg);
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
opacity: 1;
}
100% {
transform: perspective(400px) rotateX(90deg);
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
opacity: 0;
}
}

View file

@ -1,15 +1,15 @@
@keyframes flipOutY {
0% {
transform: perspective(400px) rotateY(0deg);
transform: perspective(400px);
}
30% {
transform: perspective(400px) rotateY(-15deg);
transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
opacity: 1;
}
100% {
transform: perspective(400px) rotateY(90deg);
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
opacity: 0;
}
}

View file

@ -1,21 +1,21 @@
@keyframes lightSpeedIn {
0% {
transform: translateX(100%) skewX(-30deg);
transform: translate3d(100%, 0, 0) skewX(-30deg);
opacity: 0;
}
60% {
transform: translateX(-20%) skewX(30deg);
transform: skewX(20deg);
opacity: 1;
}
80% {
transform: translateX(0%) skewX(-15deg);
transform: skewX(-5deg);
opacity: 1;
}
100% {
transform: translateX(0%) skewX(0deg);
transform: none;
opacity: 1;
}
}

View file

@ -1,11 +1,10 @@
@keyframes lightSpeedOut {
0% {
transform: translateX(0%) skewX(0deg);
opacity: 1;
}
100% {
transform: translateX(100%) skewX(-30deg);
transform: translate3d(100%, 0, 0) skewX(30deg);
opacity: 0;
}
}

View file

@ -1,13 +1,13 @@
@keyframes rotateIn {
0% {
transform-origin: center center;
transform: rotate(-200deg);
transform-origin: center;
transform: rotate3d(0, 0, 1, -200deg);
opacity: 0;
}
100% {
transform-origin: center center;
transform: rotate(0);
transform-origin: center;
transform: none;
opacity: 1;
}
}

View file

@ -1,13 +1,13 @@
@keyframes rotateInDownLeft {
0% {
transform-origin: left bottom;
transform: rotate(-90deg);
transform: rotate3d(0, 0, 1, -45deg);
opacity: 0;
}
100% {
transform-origin: left bottom;
transform: rotate(0);
transform: none;
opacity: 1;
}
}

View file

@ -1,13 +1,13 @@
@keyframes rotateInDownRight {
0% {
transform-origin: right bottom;
transform: rotate(90deg);
transform: rotate3d(0, 0, 1, 45deg);
opacity: 0;
}
100% {
transform-origin: right bottom;
transform: rotate(0);
transform: none;
opacity: 1;
}
}

View file

@ -1,13 +1,13 @@
@keyframes rotateInUpLeft {
0% {
transform-origin: left bottom;
transform: rotate(90deg);
transform: rotate3d(0, 0, 1, 45deg);
opacity: 0;
}
100% {
transform-origin: left bottom;
transform: rotate(0);
transform: none;
opacity: 1;
}
}

View file

@ -1,13 +1,13 @@
@keyframes rotateInUpRight {
0% {
transform-origin: right bottom;
transform: rotate(-90deg);
transform: rotate3d(0, 0, 1, -90deg);
opacity: 0;
}
100% {
transform-origin: right bottom;
transform: rotate(0);
transform: none;
opacity: 1;
}
}

View file

@ -1,13 +1,12 @@
@keyframes rotateOut {
0% {
transform-origin: center center;
transform: rotate(0);
transform-origin: center;
opacity: 1;
}
100% {
transform-origin: center center;
transform: rotate(200deg);
transform-origin: center;
transform: rotate3d(0, 0, 1, 200deg);
opacity: 0;
}
}

View file

@ -1,13 +1,12 @@
@keyframes rotateOutDownLeft {
0% {
transform-origin: left bottom;
transform: rotate(0);
opacity: 1;
}
100% {
transform-origin: left bottom;
transform: rotate(90deg);
transform: rotate(0, 0, 1, 45deg);
opacity: 0;
}
}

View file

@ -1,13 +1,12 @@
@keyframes rotateOutDownRight {
0% {
transform-origin: right bottom;
transform: rotate(0);
opacity: 1;
}
100% {
transform-origin: right bottom;
transform: rotate(-90deg);
transform: rotate3d(0, 0, 1, -45deg);
opacity: 0;
}
}

View file

@ -1,13 +1,12 @@
@keyframes rotateOutUpLeft {
0% {
transform-origin: left bottom;
transform: rotate(0);
opacity: 1;
}
100% {
transform-origin: left bottom;
transform: rotate(-90deg);
transform: rotate3d(0, 0, 1, -45deg);
opacity: 0;
}
}

View file

@ -1,13 +1,12 @@
@keyframes rotateOutUpRight {
0% {
transform-origin: right bottom;
transform: rotate(0);
opacity: 1;
}
100% {
transform-origin: right bottom;
transform: rotate(90deg);
transform: rotate3d(0, 0, 1, 90deg);
opacity: 0;
}
}

View file

@ -1,14 +0,0 @@
@keyframes slideInDown {
0% {
opacity: 0;
transform: translateY(-2000px);
}
100% {
transform: translateY(0);
}
}
.slideInDown {
animation-name: slideInDown;
}

View file

@ -1,14 +0,0 @@
@keyframes slideInLeft {
0% {
opacity: 0;
transform: translateX(-2000px);
}
100% {
transform: translateX(0);
}
}
.slideInLeft {
animation-name: slideInLeft;
}

View file

@ -1,14 +0,0 @@
@keyframes slideInRight {
0% {
opacity: 0;
transform: translateX(2000px);
}
100% {
transform: translateX(0);
}
}
.slideInRight {
animation-name: slideInRight;
}

View file

@ -1,15 +0,0 @@
@keyframes slideInUp {
0% {
opacity: 0;
transform: translateY(2000px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.slideInUp {
animation-name: slideInUp;
}

View file

@ -1,14 +0,0 @@
@keyframes slideOutDown {
0% {
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(2000px);
}
}
.slideOutDown {
animation-name: slideOutDown;
}

View file

@ -1,14 +0,0 @@
@keyframes slideOutLeft {
0% {
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(-2000px);
}
}
.slideOutLeft {
animation-name: slideOutLeft;
}

View file

@ -1,14 +0,0 @@
@keyframes slideOutRight {
0% {
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(2000px);
}
}
.slideOutRight {
animation-name: slideOutRight;
}

View file

@ -1,14 +0,0 @@
@keyframes slideOutUp {
0% {
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-2000px);
}
}
.slideOutUp {
animation-name: slideOutUp;
}

View file

@ -1,31 +1,24 @@
@keyframes hinge {
0% {
transform: rotate(0);
transform-origin: top left;
animation-timing-function: ease-in-out;
}
20%, 60% {
transform: rotate(80deg);
transform: rotate3d(0, 0, 1, 80deg);
transform-origin: top left;
animation-timing-function: ease-in-out;
}
40% {
transform: rotate(60deg);
transform-origin: top left;
animation-timing-function: ease-in-out;
}
80% {
transform: rotate(60deg) translateY(0);
40%, 80% {
transform: rotate3d(0, 0, 1, 60deg);
transform-origin: top left;
animation-timing-function: ease-in-out;
opacity: 1;
}
100% {
transform: translateY(700px);
transform: translate3d(0, 700px, 0);
opacity: 0;
}
}

View file

@ -3,12 +3,12 @@
@keyframes rollIn {
0% {
opacity: 0;
transform: translateX(-100%) rotate(-120deg);
transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
}
100% {
opacity: 1;
transform: translateX(0px) rotate(0deg);
transform: none;
}
}

View file

@ -3,12 +3,11 @@
@keyframes rollOut {
0% {
opacity: 1;
transform: translateX(0px) rotate(0deg);
}
100% {
opacity: 0;
transform: translateX(100%) rotate(120deg);
transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
}
}

View file

@ -1,9 +1,9 @@
@keyframes zoomIn {
0% {
opacity: 0;
transform: scale(.3);
transform: scale3d(.3, .3, .3);
}
50% {
opacity: 1;
}
@ -11,4 +11,4 @@
.zoomIn {
animation-name: zoomIn;
}
}

View file

@ -1,17 +1,17 @@
@keyframes zoomInDown {
0% {
opacity: 0;
transform: scale(.1) translateY(-2000px);
animation-timing-function: ease-in-out;
transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
}
60% {
opacity: 1;
transform: scale(.475) translateY(60px);
animation-timing-function: ease-out;
transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
}
.zoomInDown {
animation-name: zoomInDown;
}
}

View file

@ -1,17 +1,17 @@
@keyframes zoomInLeft {
0% {
opacity: 0;
transform: scale(.1) translateX(-2000px);
animation-timing-function: ease-in-out;
transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
}
60% {
opacity: 1;
transform: scale(.475) translateX(48px);
animation-timing-function: ease-out;
transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
}
.zoomInLeft {
animation-name: zoomInLeft;
}
}

View file

@ -1,17 +1,17 @@
@keyframes zoomInRight {
0% {
opacity: 0;
transform: scale(.1) translateX(2000px);
animation-timing-function: ease-in-out;
transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
}
60% {
opacity: 1;
transform: scale(.475) translateX(-48px);
animation-timing-function: ease-out;
transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
}
.zoomInRight {
animation-name: zoomInRight;
}
}

View file

@ -1,17 +1,17 @@
@keyframes zoomInUp {
0% {
opacity: 0;
transform: scale(.1) translateY(2000px);
animation-timing-function: ease-in-out;
transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
}
60% {
opacity: 1;
transform: scale(.475) translateY(-60px);
animation-timing-function: ease-out;
transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
}
.zoomInUp {
animation-name: zoomInUp;
}
}

View file

@ -1,14 +1,13 @@
@keyframes zoomOut {
0% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0;
transform: scale(.3);
transform: scale3d(.3, .3, .3);
}
100% {
opacity: 0;
}
@ -16,4 +15,4 @@
.zoomOut {
animation-name: zoomOut;
}
}

View file

@ -1,17 +1,18 @@
@keyframes zoomOutDown {
40% {
opacity: 1;
transform: scale(.475) translateY(-60px);
animation-timing-function: linear;
transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
}
100% {
opacity: 0;
transform: scale(.1) translateY(2000px);
transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
transform-origin: center bottom;
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
}
.zoomOutDown {
animation-name: zoomOutDown;
}
}

View file

@ -1,17 +1,16 @@
@keyframes zoomOutLeft {
40% {
opacity: 1;
transform: scale(.475) translateX(42px);
animation-timing-function: linear;
transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
}
100% {
opacity: 0;
transform: scale(.1) translateX(-2000px);
transform: scale(.1) translate3d(-2000px, 0, 0);
transform-origin: left center;
}
}
.zoomOutLeft {
animation-name: zoomOutLeft;
}
}

View file

@ -1,17 +1,16 @@
@keyframes zoomOutRight {
40% {
opacity: 1;
transform: scale(.475) translateX(-42px);
animation-timing-function: linear;
transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
}
100% {
opacity: 0;
transform: scale(.1) translateX(2000px);
transform: scale(.1) translate3d(2000px, 0, 0);
transform-origin: right center;
}
}
.zoomOutRight {
animation-name: zoomOutRight;
}
}

View file

@ -1,17 +1,18 @@
@keyframes zoomOutUp {
40% {
opacity: 1;
transform: scale(.475) translateY(60px);
animation-timing-function: linear;
transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
}
100% {
opacity: 0;
transform: scale(.1) translateY(-2000px);
transform-origin: center top;
transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
transform-origin: center bottom;
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
}
}
.zoomOutUp {
animation-name: zoomOutUp;
}
}