On Github zackbrown / famous-angular-ngeurope-talk
https://github.com/Famous/famous-angular
Presented by Zack Brown | @zackaboo
keepcalm-o-matic.co.uk
.element-animation{
animation: animationFrames linear 4s;
animation-iteration-count: 1;
transform-origin: ;
-webkit-animation: animationFrames linear 4s;
-webkit-animation-iteration-count: 1;
-webkit-transform-origin: ;
-moz-animation: animationFrames linear 4s;
-moz-animation-iteration-count: 1;
-moz-transform-origin: ;
-o-animation: animationFrames linear 4s;
-o-animation-iteration-count: 1;
-o-transform-origin: ;
-ms-animation: animationFrames linear 4s;
-ms-animation-iteration-count: 1;
-ms-transform-origin: ;
}
@keyframes animationFrames{
0% {
left:-299px;
top:-196px;
opacity:1;
transform: rotate(-1deg) scaleX(1) scaleY(1) ;
}
50% {
left:-137px;
top:25px;
transform: rotate(976deg) scaleX(0.77) scaleY(3.179999999999998) ;
}
100% {
left:200px;
top:0px;
opacity:1;
transform: rotate(24deg) scaleX(3.52) scaleY(3.179999999999998) ;
}
}
@-moz-keyframes animationFrames{
0% {
left:-299px;
top:-196px;
opacity:1;
-moz-transform: rotate(-1deg) scaleX(1) scaleY(1) ;
}
50% {
left:-137px;
top:25px;
-moz-transform: rotate(976deg) scaleX(0.77) scaleY(3.179999999999998) ;
}
100% {
left:200px;
top:0px;
opacity:1;
-moz-transform: rotate(24deg) scaleX(3.52) scaleY(3.179999999999998) ;
}
}
@-webkit-keyframes animationFrames {
0% {
left:-299px;
top:-196px;
opacity:1;
-webkit-transform: rotate(-1deg) scaleX(1) scaleY(1) ;
}
50% {
left:-137px;
top:25px;
-webkit-transform: rotate(976deg) scaleX(0.77) scaleY(3.179999999999998) ;
}
100% {
left:200px;
top:0px;
opacity:1;
-webkit-transform: rotate(24deg) scaleX(3.52) scaleY(3.179999999999998) ;
}
}
@-o-keyframes animationFrames {
0% {
left:-299px;
top:-196px;
opacity:1;
-o-transform: rotate(-1deg) scaleX(1) scaleY(1) ;
}
50% {
left:-137px;
top:25px;
-o-transform: rotate(976deg) scaleX(0.77) scaleY(3.179999999999998) ;
}
100% {
left:200px;
top:0px;
opacity:1;
-o-transform: rotate(24deg) scaleX(3.52) scaleY(3.179999999999998) ;
}
}
@-ms-keyframes animationFrames {
0% {
left:-299px;
top:-196px;
opacity:1;
-ms-transform: rotate(-1deg) scaleX(1) scaleY(1) ;
}
50% {
left:-137px;
top:25px;
-ms-transform: rotate(976deg) scaleX(0.77) scaleY(3.179999999999998) ;
}
100% {
left:200px;
top:0px;
opacity:1;
-ms-transform: rotate(24deg) scaleX(3.52) scaleY(3.179999999999998) ;
}
}
(Verbose) declarative CSS from a CSS animation generator (cssanimate.com)
or follow me on twitter! @zackaboo