mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-18 01:50:36 +01:00
0bc05a7559
and fixed typo in the previous commit at source/attention_seekers/swing.css
31 lines
737 B
CSS
31 lines
737 B
CSS
@keyframes flip {
|
|
0% {
|
|
transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
|
|
40% {
|
|
transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
|
|
animation-timing-function: ease-out;
|
|
}
|
|
|
|
50% {
|
|
transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
|
|
80% {
|
|
transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
|
|
100% {
|
|
transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
|
|
animation-timing-function: ease-in;
|
|
}
|
|
}
|
|
|
|
.animated.flip {
|
|
backface-visibility: visible;
|
|
animation-name: flip;
|
|
}
|