mirror of
https://github.com/animate-css/animate.css.git
synced 2024-09-06 03:21:29 +02:00
69 lines
1.1 KiB
CSS
69 lines
1.1 KiB
CSS
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
|
|
|
@-webkit-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-webkit-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-webkit-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-moz-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-moz-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@-ms-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-ms-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-ms-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@-o-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-o-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-o-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
.rollOut {
|
|
-webkit-animation-name: rollOut;
|
|
-moz-animation-name: rollOut;
|
|
-ms-animation-name: rollOut;
|
|
-o-animation-name: rollOut;
|
|
animation-name: rollOut;
|
|
} |