Re: transitions vs. animations

On Apr 8, 2010, at 10:01 AM, Brad Kemper wrote:

> For 3c you do the same thing, but in the CSS you add ',sway 1s 1s ' to the 'animation' property of ".two". 

Sorry, I left out the iterations. This is what I meant for ".two":

.two {
  left: 500px;
  animation: bounce 0.2s 5, sway 1s 1s infinite;
}

Received on Thursday, 8 April 2010 17:07:57 UTC