Skip to content

Instantly share code, notes, and snippets.

@mlpassos
Last active March 3, 2016 20:26
Show Gist options
  • Save mlpassos/7c3c665b7f49d247e0f9 to your computer and use it in GitHub Desktop.
Save mlpassos/7c3c665b7f49d247e0f9 to your computer and use it in GitHub Desktop.
Untitled
.bola {
width:50px;
height:50px;
background-color:red;
border-radius:50%;
trasnform-style: preserve-3d;
perspective:100px;
}
@keyframes anima {
0% {transform: translateX(0%) scale3d(.5,.5,.5);background-color:blue;}
100% {transform: translateX(100%) rotateY(90deg);background-color:green;};
}
.animaClass {
animation-name: anima;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
animation-delay: 2s;
}
<div class="animaClass bola"></div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment