Created
July 18, 2014 13:50
-
-
Save webdesignberlin/5794a17592e2e86dfcfc to your computer and use it in GitHub Desktop.
temp css3 animation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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