Reputation: 2751
I've started playing around with CSS animations. Fun!
I've set up this fiddle to practice the idea of wheels on a bus.
What's weird is sometimes there is a white space between the two divs as they move down the animation.. Any idea why?
(I only have code for chrome right now)
Upvotes: 2
Views: 217
Reputation: 39
I did this and it worked.
.one {
width:100px;
height:100px;
background:red;
position:absolute;
/* Safari and Chrome: */
-webkit-animation:myfirst .4s linear 0s infinite normal;
Upvotes: 2