Skip to content

Commit a1fc850

Browse files
committed
Added slideOutDown animation
1 parent 701008f commit a1fc850

File tree

4 files changed

+55
-2
lines changed

4 files changed

+55
-2
lines changed

animate-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"slideInRight": true,
8787
"slideOutLeft": true,
8888
"slideOutRight": true,
89-
"slideOutUp": true
89+
"slideOutUp": true,
90+
"slideOutDown": true
9091
},
9192

9293
"specials": {

animate.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
2020
animation-fill-mode: both;
2121
}
2222

23+
.animated.infinite {
24+
-webkit-animation-iteration-count: infinite;
25+
animation-iteration-count: infinite;
26+
}
27+
2328
.animated.hinge {
2429
-webkit-animation-duration: 2s;
2530
animation-duration: 2s;
@@ -2630,6 +2635,39 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
26302635
animation-name: slideOutUp;
26312636
}
26322637

2638+
@-webkit-keyframes slideOutDown {
2639+
0% {
2640+
-webkit-transform: translateY(0);
2641+
transform: translateY(0);
2642+
}
2643+
2644+
100% {
2645+
opacity: 0;
2646+
-webkit-transform: translateY(2000px);
2647+
transform: translateY(2000px);
2648+
}
2649+
}
2650+
2651+
@keyframes slideOutDown {
2652+
0% {
2653+
-webkit-transform: translateY(0);
2654+
-ms-transform: translateY(0);
2655+
transform: translateY(0);
2656+
}
2657+
2658+
100% {
2659+
opacity: 0;
2660+
-webkit-transform: translateY(2000px);
2661+
-ms-transform: translateY(2000px);
2662+
transform: translateY(2000px);
2663+
}
2664+
}
2665+
2666+
.slideOutDown {
2667+
-webkit-animation-name: slideOutDown;
2668+
animation-name: slideOutDown;
2669+
}
2670+
26332671
@-webkit-keyframes hinge {
26342672
0% {
26352673
-webkit-transform: rotate(0);

animate.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/sliders/slideOutDown.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@keyframes slideOutDown {
2+
0% {
3+
transform: translateY(0);
4+
}
5+
6+
100% {
7+
opacity: 0;
8+
transform: translateY(2000px);
9+
}
10+
}
11+
12+
.slideOutDown {
13+
animation-name: slideOutDown;
14+
}

0 commit comments

Comments
 (0)