1 .fadeOutUp {
2 -webkit-animation-name: fadeOutUp;
3 animation-name: fadeOutUp;
4 -webkit-animation-duration: 1s;
5 animation-duration: 1s;
6 -webkit-animation-fill-mode: both;
7 animation-fill-mode: both;
8 }
9 @-webkit-keyframes fadeOutUp {
10 0% {
11 opacity: 1;
12 }
13 100% {
14 opacity: 0;
15 -webkit-transform: translate3d(0, -100%, 0);
16 transform: translate3d(0, -100%, 0);
17 }
18 }
19 @keyframes fadeOutUp {
20 0% {
21 opacity: 1;
22 }
23 100% {
24 opacity: 0;
25 -webkit-transform: translate3d(0, -100%, 0);
26 transform: translate3d(0, -100%, 0);
27 }
28 }
29
1 .slideOutUp {
2 -webkit-animation-name: slideOutUp;
3 animation-name: slideOutUp;
4 -webkit-animation-duration: 1s;
5 animation-duration: 1s;
6 -webkit-animation-fill-mode: both;
7 animation-fill-mode: both;
8 }
9 @-webkit-keyframes slideOutUp {
10 0% {
11 -webkit-transform: translateY(0);
12 transform: translateY(0);
13 }
14 100% {
15 visibility: hidden;
16 -webkit-transform: translateY(-100%);
17 transform: translateY(-100%);
18 }
19 }
20 @keyframes slideOutUp {
21 0% {
22 -webkit-transform: translateY(0);
23 transform: translateY(0);
24 }
25 100% {
26 visibility: hidden;
27 -webkit-transform: translateY(-100%);
28 transform: translateY(-100%);
29 }
30 }
31