Skip to content

Instantly share code, notes, and snippets.

@webdesignberlin
Created July 18, 2014 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webdesignberlin/5794a17592e2e86dfcfc to your computer and use it in GitHub Desktop.
Save webdesignberlin/5794a17592e2e86dfcfc to your computer and use it in GitHub Desktop.
temp css3 animation
.profile { position:relative; }
.profile img {
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:50%;
top:50%;
opacity:1;
transform: rotate(-322deg) scaleX(0.0) scaleY(0.0) ;
}
47% {
left:50%;
top:50%;
transform: rotate(180deg) scaleX(0.5) scaleY(0.5) ;
}
100% {
left:0px;
top:0px;
opacity:1;
transform: rotate(180deg) scaleX(1.0) scaleY(1.0) ;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment