mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-14 08:11:09 +01:00
30 lines
559 B
CSS
30 lines
559 B
CSS
@keyframes flipInX {
|
|
from {
|
|
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
|
animation-timing-function: ease-in;
|
|
opacity: 0;
|
|
}
|
|
|
|
40% {
|
|
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
|
|
60% {
|
|
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
|
opacity: 1;
|
|
}
|
|
|
|
80% {
|
|
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
|
}
|
|
|
|
to {
|
|
transform: perspective(400px);
|
|
}
|
|
}
|
|
|
|
.flipInX {
|
|
backface-visibility: visible !important;
|
|
animation-name: flipInX;
|
|
}
|