Created
June 11, 2015 16:20
-
-
Save peutetre/b250399e9a5a7fccb771 to your computer and use it in GitHub Desktop.
dkzn
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
var cube = create({ | |
width:'100px', | |
height:'100px', | |
backgroundColor: | |
'rgb(253,107,107)', | |
top: (height/2 - 50) + 'px', | |
left: (width/2 - 50) + 'px', | |
opacity: 0 | |
}); | |
return Zanimo( | |
cube, | |
'opacity', | |
1, | |
1000 | |
).then(Zanimo.f( | |
'background-color', | |
'rgb(118, 189, 255)', | |
1000, | |
'ease-in-out' | |
)).then(Zanimo.f( | |
'transform', | |
'rotate(361deg)', | |
1000, | |
'ease-in-out' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment