mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-18 01:50:36 +01:00
d63e022485
Optimising for hardware acceleration, removing duplicate animations (slides), bumping tag
31 lines
691 B
CSS
31 lines
691 B
CSS
@keyframes flip {
|
|
0% {
|
|
transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
|
|
40% {
|
|
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
|
|
50% {
|
|
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
|
|
80% {
|
|
transform: perspective(400px) scale3d(.95, .95, .95);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
|
|
100% {
|
|
transform: perspective(400px);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
}
|
|
|
|
.animated.flip {
|
|
backface-visibility: visible;
|
|
animation-name: flip;
|
|
}
|