2013-11-12 00:32:40 +01:00
|
|
|
@keyframes flip {
|
2015-08-06 06:22:40 +02:00
|
|
|
from {
|
2018-04-14 09:01:36 +02:00
|
|
|
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);
|
2014-02-23 22:56:08 +01:00
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
40% {
|
2018-04-14 09:01:36 +02:00
|
|
|
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
|
|
rotate3d(0, 1, 0, -190deg);
|
2014-02-23 22:56:08 +01:00
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
50% {
|
2018-04-14 09:01:36 +02:00
|
|
|
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
|
|
rotate3d(0, 1, 0, -170deg);
|
2014-02-23 22:56:08 +01:00
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
80% {
|
2018-04-14 09:01:36 +02:00
|
|
|
transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
|
|
|
|
rotate3d(0, 1, 0, 0deg);
|
2014-02-23 22:56:08 +01:00
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
2014-02-23 21:39:02 +01:00
|
|
|
|
2015-08-21 04:26:35 +02:00
|
|
|
to {
|
2018-04-14 09:01:36 +02:00
|
|
|
transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);
|
2014-02-23 22:56:08 +01:00
|
|
|
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
|
|
|
}
|