2013-11-12 00:32:40 +01:00
|
|
|
@keyframes flip {
|
2014-02-23 22:56:08 +01:00
|
|
|
0% {
|
|
|
|
transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
40% {
|
|
|
|
transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
50% {
|
|
|
|
transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
|
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
80% {
|
|
|
|
transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
|
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
100% {
|
|
|
|
transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
|
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
2013-11-12 00:32:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.animated.flip {
|
2014-02-23 22:56:08 +01:00
|
|
|
backface-visibility: visible;
|
|
|
|
animation-name: flip;
|
2013-11-12 00:32:40 +01:00
|
|
|
}
|