mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-13 07:41:08 +01:00
Merge pull request #187 from ofagbemi/master
Added zoom entrances and exits as per @ramatsu's request #186
This commit is contained in:
commit
b40b961765
13 changed files with 607 additions and 1 deletions
|
@ -95,6 +95,22 @@
|
|||
"hinge": true,
|
||||
"rollIn": true,
|
||||
"rollOut": true
|
||||
},
|
||||
|
||||
"zooming_entrances": {
|
||||
"zoomIn": true,
|
||||
"zoomInDown": true,
|
||||
"zoomInLeft": true,
|
||||
"zoomInRight": true,
|
||||
"zoomInUp": true
|
||||
},
|
||||
|
||||
"zooming_exits": {
|
||||
"zoomOut": true,
|
||||
"zoomOutDown": true,
|
||||
"zoomOutLeft": true,
|
||||
"zoomOutRight": true,
|
||||
"zoomOutUp": true
|
||||
}
|
||||
|
||||
}
|
||||
|
|
421
animate.css
vendored
Normal file → Executable file
421
animate.css
vendored
Normal file → Executable file
|
@ -2877,4 +2877,425 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||
.rollOut {
|
||||
-webkit-animation-name: rollOut;
|
||||
animation-name: rollOut;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.3);
|
||||
transform: scale(.3);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.3);
|
||||
-ms-transform: scale(.3);
|
||||
transform: scale(.3);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomIn {
|
||||
-webkit-animation-name: zoomIn;
|
||||
animation-name: zoomIn;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomInDown {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(-2000px);
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(60px);
|
||||
transform: scale(.475) translateY(60px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomInDown {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(-2000px);
|
||||
-ms-transform: scale(.1) translateY(-2000px);
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(60px);
|
||||
-ms-transform: scale(.475) translateY(60px);
|
||||
transform: scale(.475) translateY(60px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInDown {
|
||||
-webkit-animation-name: zoomInDown;
|
||||
animation-name: zoomInDown;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomInLeft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(-2000px);
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(48px);
|
||||
transform: scale(.475) translateX(48px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomInLeft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(-2000px);
|
||||
-ms-transform: scale(.1) translateX(-2000px);
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(48px);
|
||||
-ms-transform: scale(.475) translateX(48px);
|
||||
transform: scale(.475) translateX(48px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInLeft {
|
||||
-webkit-animation-name: zoomInLeft;
|
||||
animation-name: zoomInLeft;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomInRight {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(2000px);
|
||||
transform: scale(.1) translateX(2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(-48px);
|
||||
transform: scale(.475) translateX(-48px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomInRight {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(2000px);
|
||||
-ms-transform: scale(.1) translateX(2000px);
|
||||
transform: scale(.1) translateX(2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(-48px);
|
||||
-ms-transform: scale(.475) translateX(-48px);
|
||||
transform: scale(.475) translateX(-48px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInRight {
|
||||
-webkit-animation-name: zoomInRight;
|
||||
animation-name: zoomInRight;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomInUp {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(2000px);
|
||||
transform: scale(.1) translateY(2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(-60px);
|
||||
transform: scale(.475) translateY(-60px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomInUp {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(2000px);
|
||||
-ms-transform: scale(.1) translateY(2000px);
|
||||
transform: scale(.1) translateY(2000px);
|
||||
-webkit-animation-timing-function: ease-in-out;
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(-60px);
|
||||
-ms-transform: scale(.475) translateY(-60px);
|
||||
transform: scale(.475) translateY(-60px);
|
||||
-webkit-animation-timing-function: ease-out;
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInUp {
|
||||
-webkit-animation-name: zoomInUp;
|
||||
animation-name: zoomInUp;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomOut {
|
||||
0% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.3);
|
||||
transform: scale(.3);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomOut {
|
||||
0% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.3);
|
||||
-ms-transform: scale(.3);
|
||||
transform: scale(.3);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOut {
|
||||
-webkit-animation-name: zoomOut;
|
||||
animation-name: zoomOut;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomOutDown {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(-60px);
|
||||
transform: scale(.475) translateY(-60px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(2000px);
|
||||
transform: scale(.1) translateY(2000px);
|
||||
-webkit-transform-origin: center bottom;
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomOutDown {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(-60px);
|
||||
-ms-transform: scale(.475) translateY(-60px);
|
||||
transform: scale(.475) translateY(-60px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(2000px);
|
||||
-ms-transform: scale(.1) translateY(2000px);
|
||||
transform: scale(.1) translateY(2000px);
|
||||
-webkit-transform-origin: center bottom;
|
||||
-ms-transform-origin: center bottom;
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutDown {
|
||||
-webkit-animation-name: zoomOutDown;
|
||||
animation-name: zoomOutDown;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomOutLeft {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(42px);
|
||||
transform: scale(.475) translateX(42px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(-2000px);
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
-webkit-transform-origin: left center;
|
||||
transform-origin: left center;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomOutLeft {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(42px);
|
||||
-ms-transform: scale(.475) translateX(42px);
|
||||
transform: scale(.475) translateX(42px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(-2000px);
|
||||
-ms-transform: scale(.1) translateX(-2000px);
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
-webkit-transform-origin: left center;
|
||||
-ms-transform-origin: left center;
|
||||
transform-origin: left center;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutLeft {
|
||||
-webkit-animation-name: zoomOutLeft;
|
||||
animation-name: zoomOutLeft;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomOutRight {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(-42px);
|
||||
transform: scale(.475) translateX(-42px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(2000px);
|
||||
transform: scale(.1) translateX(2000px);
|
||||
-webkit-transform-origin: right center;
|
||||
transform-origin: right center;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomOutRight {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateX(-42px);
|
||||
-ms-transform: scale(.475) translateX(-42px);
|
||||
transform: scale(.475) translateX(-42px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateX(2000px);
|
||||
-ms-transform: scale(.1) translateX(2000px);
|
||||
transform: scale(.1) translateX(2000px);
|
||||
-webkit-transform-origin: right center;
|
||||
-ms-transform-origin: right center;
|
||||
transform-origin: right center;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutRight {
|
||||
-webkit-animation-name: zoomOutRight;
|
||||
animation-name: zoomOutRight;
|
||||
}
|
||||
|
||||
@-webkit-keyframes zoomOutUp {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(60px);
|
||||
transform: scale(.475) translateY(60px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(-2000px);
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
-webkit-transform-origin: center top;
|
||||
transform-origin: center top;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomOutUp {
|
||||
40% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(.475) translateY(60px);
|
||||
-ms-transform: scale(.475) translateY(60px);
|
||||
transform: scale(.475) translateY(60px);
|
||||
-webkit-animation-timing-function: linear;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.1) translateY(-2000px);
|
||||
-ms-transform: scale(.1) translateY(-2000px);
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
-webkit-transform-origin: center top;
|
||||
-ms-transform-origin: center top;
|
||||
transform-origin: center top;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutUp {
|
||||
-webkit-animation-name: zoomOutUp;
|
||||
animation-name: zoomOutUp;
|
||||
}
|
2
animate.min.css
vendored
Normal file → Executable file
2
animate.min.css
vendored
Normal file → Executable file
File diff suppressed because one or more lines are too long
14
source/zooming_entrances/zoomIn.css
Normal file
14
source/zooming_entrances/zoomIn.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes zoomIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(.3);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomIn {
|
||||
animation-name: zoomIn;
|
||||
}
|
17
source/zooming_entrances/zoomInDown.css
Normal file
17
source/zooming_entrances/zoomInDown.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomInDown {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateY(60px);
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInDown {
|
||||
animation-name: zoomInDown;
|
||||
}
|
17
source/zooming_entrances/zoomInLeft.css
Normal file
17
source/zooming_entrances/zoomInLeft.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomInLeft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateX(48px);
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInLeft {
|
||||
animation-name: zoomInLeft;
|
||||
}
|
17
source/zooming_entrances/zoomInRight.css
Normal file
17
source/zooming_entrances/zoomInRight.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomInRight {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateX(2000px);
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateX(-48px);
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInRight {
|
||||
animation-name: zoomInRight;
|
||||
}
|
17
source/zooming_entrances/zoomInUp.css
Normal file
17
source/zooming_entrances/zoomInUp.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomInUp {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateY(2000px);
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateY(-60px);
|
||||
animation-timing-function: ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomInUp {
|
||||
animation-name: zoomInUp;
|
||||
}
|
19
source/zooming_exits/zoomOut.css
Normal file
19
source/zooming_exits/zoomOut.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
@keyframes zoomOut {
|
||||
0% {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0;
|
||||
transform: scale(.3);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOut {
|
||||
animation-name: zoomOut;
|
||||
}
|
17
source/zooming_exits/zoomOutDown.css
Normal file
17
source/zooming_exits/zoomOutDown.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomOutDown {
|
||||
40% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateY(-60px);
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateY(2000px);
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutDown {
|
||||
animation-name: zoomOutDown;
|
||||
}
|
17
source/zooming_exits/zoomOutLeft.css
Normal file
17
source/zooming_exits/zoomOutLeft.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomOutLeft {
|
||||
40% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateX(42px);
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateX(-2000px);
|
||||
transform-origin: left center;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutLeft {
|
||||
animation-name: zoomOutLeft;
|
||||
}
|
17
source/zooming_exits/zoomOutRight.css
Normal file
17
source/zooming_exits/zoomOutRight.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomOutRight {
|
||||
40% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateX(-42px);
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateX(2000px);
|
||||
transform-origin: right center;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutRight {
|
||||
animation-name: zoomOutRight;
|
||||
}
|
17
source/zooming_exits/zoomOutUp.css
Normal file
17
source/zooming_exits/zoomOutUp.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
@keyframes zoomOutUp {
|
||||
40% {
|
||||
opacity: 1;
|
||||
transform: scale(.475) translateY(60px);
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scale(.1) translateY(-2000px);
|
||||
transform-origin: center top;
|
||||
}
|
||||
}
|
||||
|
||||
.zoomOutUp {
|
||||
animation-name: zoomOutUp;
|
||||
}
|
Loading…
Reference in a new issue