I can use follow css code to do some simple animation, but I want do more advanced:
opacity: 1;
-webkit-transition-property: opacity, linear;
-webkit-transition-duration: 2s, 4s;
I want the div from opacity: 0 to opacity 1. Also, I want the position is move from x, y to x , y+10 Lastly, I want the div become invisible, so, I want down the opacity 1 to 0.
How can I do that? Or it is not possible to do these complex animation in CSS?